Versions Compared

Key

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

class Geo::Geo2DTransform

A class representing a 2d linear transform between UVs.

Variables

NameDescription
float m_LinearTransform[2][2]

Transform component as [rows][columns].

float m_Translation[2]

Translation component.

Functions

NameDescription
Geo2DTransform()

Constructor.

SetIdentity()

Set identity transform.

SetZero()

Clear transform.

Transform(const Geo::GeoPoint2 &)

Return a transformed point.


Anchor
abfa577548770b8e950af5b19ed6db7e5
abfa577548770b8e950af5b19ed6db7e5

Geo::Geo2DTransform::Geo2DTransform

...

public: Geo2DTransform()

...

Constructor.


Anchor
aceca7a4d41b0a481f182a1ee1c6c8141
aceca7a4d41b0a481f182a1ee1c6c8141

void Geo::Geo2DTransform::SetIdentity

...

public: void SetIdentity()

...

Set identity transform.


Anchor
a2e64426d2db3ef73515acbd81f8374e3
a2e64426d2db3ef73515acbd81f8374e3

void Geo::Geo2DTransform::SetZero

...

public: void SetZero()

...

Clear transform.


Anchor
a8eef3bfefdb7f9f5c7a6a40f19a94907
a8eef3bfefdb7f9f5c7a6a40f19a94907

Geo::GeoPoint2 Geo::Geo2DTransform::Transform

...

public: Geo::GeoPoint2 Transform
(
    const Geo::GeoPoint2 & p
) const

...

Return a transformed point.