This is the documentation for Enlighten.
struct Geo GeoPoint2D
struct Geo::GeoPoint2D
Integer 2 dimensional point class.
Functions
Name | Description |
|---|---|
Constructors. | |
Constructors. | |
Component-wise subtraction (translation). | |
Scalar multiplication. | |
Scalar multiplication. | |
Scalar division. | |
Scalar division. | |
Component-wise addition (translation). | |
Component-wise addition (translation). | |
Comparison operator, required to use this class as a key in an STL-style container. | |
Component-wise subtraction (translation). | |
Equality operator. |
Variables
Geo::GeoPoint2D::GeoPoint2D
public: GeoPoint2D()
Constructors.
Geo::GeoPoint2D::GeoPoint2D
public: GeoPoint2D
(
Geo::s32 x,
Geo::s32 y
)
Constructors.
GeoPoint2D Geo::GeoPoint2D::operator-
public: GeoPoint2D operator-
(
GeoPoint2D const & rhs
) const
Component-wise subtraction (translation).