VR-Forces 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 () override
 
virtual bool load (FILE *f, bool loadMeasures=false, const DtShapeProjection *projection=NULL) override
 
virtual DtShapePointpoint (int i) override
 
virtual DtInt32 numPoints () override
 
virtual DtInt32 numPoints (int part)
 
virtual DtInt32 numParts ()
 
virtual DtInt32 initialVertex (int part)
 
virtual void setElevation (double elev) override
 
virtual void calculateMaxMins (double &myMaxHigh, double &myMinHigh) override
 
virtual DtGroupimport (DtShapeReader *reader) override
 
virtual bool importAsFeature (DtShapeVectorReader *reader, DtSpecificationID specID, DtSpecification &specification) override
 
- 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 ( )
overridevirtual

Member Function Documentation

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

Implements DtShapeElement.

Reimplemented in DtShapePolyLineZ.

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

Implements DtShapeElement.

Reimplemented in DtShapePolyLineZ, and DtShapePolyLineM.

virtual DtInt32 DtShapePolyLine::numPoints ( )
overridevirtual

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)
overridevirtual

Implements DtShapeElement.

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

Implements DtShapeElement.

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

Implements DtShapeElement.

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

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 Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)