62#if __cplusplus >= 201703L
86#if __cplusplus >= 201103L
124#if __cplusplus >= 201103L
127 if (&other ==
this) {
137 if (&other ==
this) {
153 return pixelCoordinate(resWidth, resHeight).cameraCoordinate();
208 return !(*
this == other);
218 return !(*
this == other);
gu_pixel_coordinate pct_coord_to_px_coord(const gu_percent_coordinate coord, const pixels_u res_width, const pixels_u res_height)
gu_relative_coordinate pct_coord_to_rr_coord(const gu_percent_coordinate coord, const gu_camera_pivot camera_pivot, const int cameraOffset)
percent_d gu_percent_coordinate_x_upper_bound(const gu_percent_coordinate coord)
percent_d gu_percent_coordinate_y_upper_bound(const gu_percent_coordinate coord)
percent_d gu_percent_coordinate_y_lower_bound(const gu_percent_coordinate coord)
bool gu_percent_coordinate_equals(const gu_percent_coordinate lhs, const gu_percent_coordinate rhs, const percent_d tolerance)
percent_d gu_percent_coordinate_x_lower_bound(const gu_percent_coordinate coord)
bool operator!=(const PercentCoordinate &other) const NOEXCEPT
~PercentCoordinate() NOEXCEPT
bool operator==(const PercentCoordinate &other) const NOEXCEPT
percent_d y() const NOEXCEPT
void set_y(const percent_d) NOEXCEPT
void set_x(const percent_d) NOEXCEPT
percent_d x() const NOEXCEPT
percent_d xUpperBound() const NOEXCEPT
PercentCoordinate & operator=(const PercentCoordinate &other) NOEXCEPT
percent_d xLowerBound() const NOEXCEPT
CameraCoordinate cameraCoordinate(const pixels_u, const pixels_u) const NOEXCEPT
RelativeCoordinate relativeCoordinate(const GU::CameraPivot &, const int) const NOEXCEPT
PercentCoordinate() NOEXCEPT
percent_d yLowerBound() const NOEXCEPT
PixelCoordinate pixelCoordinate(const pixels_u, const pixels_u) const NOEXCEPT
percent_d yUpperBound() const NOEXCEPT
A gu_percent_coordinate represents the coordinate of a pixel within an image.
percent_d y
The y coordinate of the pixel within the image as a percentage.
percent_d x
The x coordinate of the pixel within the image as a percentage.