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 Version History

« Previous Version 2 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-()

Component-wise negate.

operator!=(const GeoPoint3D &)

Inequality operator.

operator&(u32)

Component-wise logical operations.

operator*(s32)

Scalar multiplication.

operator*(GeoPoint3D const &)

Component-wise multiplication (scale).

operator*=(const GeoPoint3D &)

Component-wise multiplication (scale).

operator*=(s32)

Scalar multiplication.

operator/(s32)

Scalar division.

operator/=(s32)

Scalar division.

operator|(s32)

Component-wise logical operations.

operator+(GeoPoint3D const &)

Component-wise addition (translation).

operator+=(const GeoPoint3D &)

Component-wise addition (translation).

operator<<(u32)

Component-wise arithmetic shift.

operator-=(const GeoPoint3D &)

Component-wise subtraction (translation).

operator==(const GeoPoint3D &)

Equality operator.

operator>>(u32)

Component-wise arithmetic shift.

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


GeoPoint3D Geo::GeoPoint3D::operator-


public: GeoPoint3D operator-() const


Component-wise negate.


bool Geo::GeoPoint3D::operator!=


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


Inequality operator.


GeoPoint3D Geo::GeoPoint3D::operator&


public: GeoPoint3D operator&
(
    u32 rhs
) const


Component-wise logical operations.


GeoPoint3D Geo::GeoPoint3D::operator*


public: GeoPoint3D operator*
(
    s32 Scale
) const


Scalar multiplication.


GeoPoint3D Geo::GeoPoint3D::operator*


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


Component-wise multiplication (scale).


GeoPoint3D& Geo::GeoPoint3D::operator*=


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


Component-wise multiplication (scale).


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|
(
    s32 rhs
) const


Component-wise logical operations.


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<<
(
    u32 shift
) const


Component-wise arithmetic shift.


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.


GeoPoint3D Geo::GeoPoint3D::operator>>


public: GeoPoint3D operator>>
(
    u32 shift
) const


Component-wise arithmetic shift.

  • No labels