![]() |
VR-Forces 5.0.3 Developer's Guide
|
The edge feature is a feature that describes a vector feature, typically several connected line segments.

Classes | |
| struct | Point |
Public Member Functions | |
| virtual std::string | generateDisplayName () const |
| void | addPoint (const DtVector &position) |
| void | insertPoint (unsigned int index, const DtVector &position) |
| void | removePoint (unsigned int index) |
| unsigned int | numberOfPoints () const |
| const DtVector & | pointLocation (unsigned int index) const |
| void | setPointLocation (unsigned int index, const DtVector &pos) |
Public Member Functions inherited from makVrv::DtFeature | |
| virtual | ~DtFeature () |
| DtElementID | elementId () const |
| DFAD::FeatureID | featureID () const |
| const DtFaccCode & | faccCode () const |
| unsigned int | sourceID () const |
| DFAD::SurfaceMaterialCode | soilType () |
| DtFeatureVisualizer * | findFeatureVisualizer () |
| void | setFeatureVisualizer (DtFeatureVisualizer *vis) |
Protected Types | |
| typedef std::vector< Point > | PointList |
Protected Member Functions | |
| DtEdgeFeature (DtElementID elementId, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
| virtual | ~DtEdgeFeature () |
Protected Member Functions inherited from makVrv::DtFeature | |
| DtFeature (DtElementID id, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
Protected Attributes | |
| PointList | myPoints |
Protected Attributes inherited from makVrv::DtFeature | |
| const DtElementID | myElementId |
| DFAD::FeatureID | myFeatureID |
| unsigned int | mySourceId |
| DtFaccCode | myFeatureCode |
| DFAD::SurfaceMaterialCode | mySoilType |
| float | myWidth |
| float | myLength |
| float | myHeight |
| float | myOrientation |
| DtFeatureVisualizer * | myFeatureVisualizer |
Friends | |
| class | DtFeatureSet |
|
protected |
|
protected |
CTOR is protected, use the DtFeatureSet interface for creating features.
|
protectedvirtual |
DTOR is protected, use the DtFeatureSet interface for destroying features.
|
virtual |
Generate a display name for this feature.
Implements makVrv::DtFeature.
Reimplemented in makVrv::DtArealFeature.
| void makVrv::DtEdgeFeature::addPoint | ( | const DtVector & | position | ) |
Adds a new point.
Adds a new point at the index, if the index exceeds the number of points, the point is added to the end.
Get the number of points in the edge feature.
Get the position of a point.
| DtInvalidInput | if the index is out of range. |
Set the position of a point.
| DtInvalidInput | if the index is out of range. |
|
friend |
|
protected |