VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)