Integer 2 dimensional point class.
Name | Description |
---|---|
GeoPoint2D() | Constructors. |
GeoPoint2D(Geo::s32, Geo::s32) | Constructors. |
operator<(const GeoPoint2D &) | Comparison operator, required to use this class as a key in an STL-style container. |
operator==(const GeoPoint2D &) | Equality operator. |
Name | Description |
---|---|
Geo::s32 X | X coordinate. |
Geo::s32 Y | Y coordinate. |
public: GeoPoint2D()
Constructors.
public: GeoPoint2D
(
Geo::s32 x,
Geo::s32 y
)
Constructors.
public: bool operator<
(
const GeoPoint2D & rhs
) const
Comparison operator, required to use this class as a key in an STL-style container.
public: bool operator==
(
const GeoPoint2D & rhs
) const
Equality operator.