VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
DtShapePolyLine Class Reference
Inheritance diagram for DtShapePolyLine:
Inheritance graph
[legend]

Public Member Functions

 DtShapePolyLine (double elevationFactor, bool isPoly=false)
virtual ~DtShapePolyLine ()
virtual bool load (FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL)
virtual DtShapePointpoint (int i)
virtual DtInt32 numPoints ()
virtual DtInt32 numPoints (int part)
virtual DtInt32 numParts ()
virtual DtInt32 initialVertex (int part)
virtual void setElevation (double elev)
virtual void calculateMaxMins (double &myMaxHigh, double &myMinHigh)
virtual DtGroupimport (DtShapeReader *reader)
virtual bool importAsFeature (DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &specification)
- Public Member Functions inherited from DtShapeElement
 DtShapeElement (double elevationFactor)
virtual ~DtShapeElement ()
virtual void setFactorToMtrs (double elevationFactor)

Protected Member Functions

virtual bool importPolygonAsFeature (DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &s)
virtual bool importPolyLineAsFeature (DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &s)

Protected Attributes

DtNetFloat64 myBoundingBox [4]
DtNetInt32 myNumParts
DtNetInt32 myNumPoints
DtNetInt32 * myParts
DtShapePointmyPoints
bool myAmIPolygon
- Protected Attributes inherited from DtShapeElement
double myElevationFactor

Constructor & Destructor Documentation

DtShapePolyLine::DtShapePolyLine ( double  elevationFactor,
bool  isPoly = false 
)
virtual DtShapePolyLine::~DtShapePolyLine ( )
virtual

Member Function Documentation

virtual bool DtShapePolyLine::load ( FILE *  f,
bool  loadMeasures = false,
const DtShapeProjection projection = NULL 
)
virtual

Implements DtShapeElement.

Reimplemented in DtShapePolyLineZ.

virtual DtShapePoint* DtShapePolyLine::point ( int  i)
virtual

Implements DtShapeElement.

Reimplemented in DtShapePolyLineM, and DtShapePolyLineZ.

virtual DtInt32 DtShapePolyLine::numPoints ( )
virtual

Implements DtShapeElement.

virtual DtInt32 DtShapePolyLine::numPoints ( int  part)
virtual
virtual DtInt32 DtShapePolyLine::numParts ( )
virtual
virtual DtInt32 DtShapePolyLine::initialVertex ( int  part)
virtual
virtual void DtShapePolyLine::setElevation ( double  elev)
virtual

Implements DtShapeElement.

virtual void DtShapePolyLine::calculateMaxMins ( double &  myMaxHigh,
double &  myMinHigh 
)
virtual

Implements DtShapeElement.

virtual DtGroup* DtShapePolyLine::import ( DtShapeReader reader)
virtual

Implements DtShapeElement.

virtual bool DtShapePolyLine::importAsFeature ( DtShapeVectorReader reader,
DtSpecificationID  specID,
DtSpecification specification 
)
virtual

Implements DtShapeElement.

virtual bool DtShapePolyLine::importPolygonAsFeature ( DtShapeVectorReader reader,
DtSpecificationID  specID,
DtSpecification s 
)
protectedvirtual
virtual bool DtShapePolyLine::importPolyLineAsFeature ( DtShapeVectorReader reader,
DtSpecificationID  specID,
DtSpecification s 
)
protectedvirtual

Member Data Documentation

DtNetFloat64 DtShapePolyLine::myBoundingBox[4]
protected
DtNetInt32 DtShapePolyLine::myNumParts
protected
DtNetInt32 DtShapePolyLine::myNumPoints
protected
DtNetInt32* DtShapePolyLine::myParts
protected
DtShapePoint* DtShapePolyLine::myPoints
protected
bool DtShapePolyLine::myAmIPolygon
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)