This is the documentation for Enlighten.
class Geo Geo2DTransform
class Geo::Geo2DTransform
A class representing a 2d linear transform between UVs.
Variables
Name | Description |
---|---|
float m_LinearTransform[2][2] | Transform component as [rows][columns]. |
float m_Translation[2] | Translation component. |
Functions
Name | Description |
---|---|
Geo2DTransform() | Constructor. |
SetIdentity() | Set identity transform. |
SetZero() | Clear transform. |
Transform(const Geo::GeoPoint2 &) | Return a transformed point. |
Geo::Geo2DTransform::Geo2DTransform
public: Geo2DTransform()
Constructor.
void Geo::Geo2DTransform::SetIdentity
public: void SetIdentity()
Set identity transform.
void Geo::Geo2DTransform::SetZero
public: void SetZero()
Clear transform.
Geo::GeoPoint2 Geo::Geo2DTransform::Transform
public: Geo::GeoPoint2 Transform
(
const Geo::GeoPoint2 & p
) const
Return a transformed point.