Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

struct Geo::GeoPoint2D

Integer 2 dimensional point class.

Functions

NameDescription
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.

Variables

NameDescription
Geo::s32 X

X coordinate.

Geo::s32 Y

Y coordinate.


Anchor
a76b8788fcfffc9a97fc2fa889c1d074a
a76b8788fcfffc9a97fc2fa889c1d074a

Geo::GeoPoint2D::GeoPoint2D

...

public: GeoPoint2D()

...

Constructors.


Anchor
abd951038ddafb64dda0efd2594f2d3c0
abd951038ddafb64dda0efd2594f2d3c0

Geo::GeoPoint2D::GeoPoint2D

...

public: GeoPoint2D
(
    Geo::s32 x,
    Geo::s32 y
)

...

Constructors.


Anchor
a6ccd267666258a75385afbc30dd1a317
a6ccd267666258a75385afbc30dd1a317

bool Geo::GeoPoint2D::operator<

...

public: bool operator<
(
    const GeoPoint2D & rhs
) const

...

Comparison operator, required to use this class as a key in an STL-style container.


Anchor
a6020e1ef702391a0547123bd82b7bc1d
a6020e1ef702391a0547123bd82b7bc1d

bool Geo::GeoPoint2D::operator==

...

public: bool operator==
(
    const GeoPoint2D & rhs
) const

...

Equality operator.