docs: @Pure
  	public static int getCohenSutherlandCode(int px, int py, int rxmin, int rymin, int rxmax, int rymax) {
  		assert rxmin <= rxmax : AssertMessages.lowerEqualParameters(2, rxmin, 4, rxmax);
  		assert rymin <= rymax : AssertMessages.lowerEqualParameters(3, rymin, 5, rymax);
  		// initialised as being inside of clip window
  		int code = COHEN_SUTHERLAND_INSIDE;
  		if (px < rxmin) {
  			// to the left of clip window
  			code |= COHEN_SUTHERLAND_LEFT;
  		}
  		if (px > rxmax) {
  			// to the right of clip window
  			code |= COHEN_SUTHERLAND_RIGHT;
  		}
  		if (py < rymin) {
  			// to the bottom of clip window
  			code |= COHEN_SUTHERLAND_BOTTOM;
  		}
  		if (py > rymax) {
  			// to the top of clip window
  			code |= COHEN_SUTHERLAND_TOP;
  		}
  		return code;
  	}