|
Public Member Functions |
|
void | Initialize (const LinearUnits units, const DRECT &earthextents, float fMinHeight, float fMaxHeight) |
| virtual void | SetEarthExtents (const DRECT &ext) |
| virtual bool | FindAltitudeAtPoint (const FPoint3 &p3, float &fAltitude, bool bTrue=false, int iCultureFlags=0, FPoint3 *vNormal=NULL) const =0 |
|
virtual bool | CastRayToSurface (const FPoint3 &point, const FPoint3 &dir, FPoint3 &result) const =0 |
| | Find the intersection point of a ray with the heightfield.
|
| int | PointIsAboveTerrain (const FPoint3 &p) const |
| bool | ConvertEarthToSurfacePoint (const DPoint2 &epos, FPoint3 &p3, int iCultureFlags=0, bool bTrue=false) |
| bool | ContainsWorldPoint (float x, float z) |
|
void | GetCenter (FPoint3 ¢er) |
|
void | SetCulture (CultureExtension *ext) |
Public Attributes |
|
FRECT | m_WorldExtents |
|
vtLocalConversion | m_Conversion |
Protected Member Functions |
|
void | UpdateWorldExtents () |
Protected Attributes |
|
float | m_fDiagonalLength |
|
CultureExtension * | m_pCulture |