vtlib library
Public Member Functions
vtTin3d Class Reference
Inheritance diagram for vtTin3d:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Read (const char *fname)
virtual bool FindAltitudeAtPoint (const FPoint3 &p3, float &fAltitude, bool bTrue=false, int iCultureFlags=0, FPoint3 *vNormal=NULL) const

Detailed Description

This class extends vtTin with the ability to call vtlib to create 3d geometry for the TIN. It also subclasses vtHeightField so it provides the ability to do height-testing and ray-picking.


Member Function Documentation

bool vtTin3d::FindAltitudeAtPoint ( const FPoint3 input,
float &  fAltitude,
bool  bTrue = false,
int  iCultureFlags = 0,
FPoint3 vNormal = NULL 
) const [virtual]

Returns true if the point was over the TIN, false otherwise.

Reimplemented from vtTin.

bool vtTin3d::Read ( const char *  fname)

Read the TIN from a file. This can either be an old-style or new-style .tin format (so far, a VTP-specific format)

Reimplemented from vtTin.

 All Classes Files Functions Variables Friends