This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

struct Geo::GeoPoint3D

Integer 3 dimensional point class.

Functions

Name Description
GeoPoint3D()

Constructors.

GeoPoint3D(s32, s32, s32)

Constructors.

GeoPoint3D(s32)

Constructors.

operator-(GeoPoint3D const &)

Component-wise subtraction (translation).

operator!=(const GeoPoint3D &)

Inequality operator.

operator*(s32)

Scalar multiplication.

operator*=(s32)

Scalar multiplication.

operator/(s32)

Scalar division.

operator/=(s32)

Scalar division.

operator+(GeoPoint3D const &)

Component-wise addition (translation).

operator+=(const GeoPoint3D &)

Component-wise addition (translation).

operator-=(const GeoPoint3D &)

Component-wise subtraction (translation).

operator==(const GeoPoint3D &)

Equality operator.

Variables

Name Description
s32 X

X coordinate.

s32 Y

Y coordinate.

s32 Z

Z coordinate.


Geo::GeoPoint3D::GeoPoint3D


public: GeoPoint3D()


Constructors.


Geo::GeoPoint3D::GeoPoint3D


public: GeoPoint3D
(
    s32 InX,
    s32 InY,
    s32 InZ
)


Constructors.


Geo::GeoPoint3D::GeoPoint3D


public: GeoPoint3D
(
    s32 InSize
)


Constructors.


GeoPoint3D Geo::GeoPoint3D::operator-


public: GeoPoint3D operator-
(
    GeoPoint3D const & rhs
) const


Component-wise subtraction (translation).


bool Geo::GeoPoint3D::operator!=


public: bool operator!=
(
    const GeoPoint3D & Other
) const


Inequality operator.


GeoPoint3D Geo::GeoPoint3D::operator*


public: GeoPoint3D operator*
(
    s32 Scale
) const


Scalar multiplication.


GeoPoint3D& Geo::GeoPoint3D::operator*=


public: GeoPoint3D & operator*=
(
    s32 Scale
)


Scalar multiplication.


GeoPoint3D Geo::GeoPoint3D::operator/


public: GeoPoint3D operator/
(
    s32 Divisor
) const


Scalar division.


GeoPoint3D& Geo::GeoPoint3D::operator/=


public: GeoPoint3D & operator/=
(
    s32 Divisor
)


Scalar division.


GeoPoint3D Geo::GeoPoint3D::operator+


public: GeoPoint3D operator+
(
    GeoPoint3D const & rhs
) const


Component-wise addition (translation).


GeoPoint3D& Geo::GeoPoint3D::operator+=


public: GeoPoint3D & operator+=
(
    const GeoPoint3D & Other
)


Component-wise addition (translation).


GeoPoint3D& Geo::GeoPoint3D::operator-=


public: GeoPoint3D & operator-=
(
    const GeoPoint3D & Other
)


Component-wise subtraction (translation).


bool Geo::GeoPoint3D::operator==


public: bool operator==
(
    const GeoPoint3D & Other
) const


Equality operator.

  • No labels