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::GeoPoint2

Single precision 2 dimensional point class.

Functions

Name Description
GeoPoint2()

Constructors.

GeoPoint2(float, float)

Constructors.

GeoPoint2(v128)

Constructors.

operator-(GeoPoint2)

Operator overloads.

operator v128()

Conversion to a v128. W component is always 1.

operator*(float)

Operator overloads.

operator/(float)

Operator overloads.

operator+(GeoPoint2)

Operator overloads.

operator+=(const GeoPoint2 &)

Operator overloads.

operator==(const GeoPoint2 &)

Equality operator.


Geo::GeoPoint2::GeoPoint2


public: GeoPoint2()


Constructors.


Geo::GeoPoint2::GeoPoint2


public: GeoPoint2
(
    float x,
    float y
)


Constructors.


Geo::GeoPoint2::GeoPoint2


public: GeoPoint2
(
    v128 rhs
)


Constructors.


GeoPoint2 Geo::GeoPoint2::operator-


public: GeoPoint2 operator-
(
    GeoPoint2 rhs
) const


Operator overloads.


Geo::GeoPoint2::operator v128


public: operator v128() const


Conversion to a v128. W component is always 1.


GeoPoint2 Geo::GeoPoint2::operator*


public: GeoPoint2 operator*
(
    float rhs
) const


Operator overloads.


GeoPoint2 Geo::GeoPoint2::operator/


public: GeoPoint2 operator/
(
    float rhs
) const


Operator overloads.


GeoPoint2 Geo::GeoPoint2::operator+


public: GeoPoint2 operator+
(
    GeoPoint2 rhs
) const


Operator overloads.


GeoPoint2 Geo::GeoPoint2::operator+=


public: GeoPoint2 operator+=
(
    const GeoPoint2 & v
)


Operator overloads.


bool Geo::GeoPoint2::operator==


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


Equality operator.

  • No labels