|
vtdata library
|

Public Member Functions | |
| unsigned int | GetNumEntities () const |
| void | SetNumGeometries (int iNum) |
| void | Reserve (int iNum) |
| bool | ComputeExtent (DRECT &rect) const |
| void | Offset (const DPoint2 &p, bool bSelectedOnly=false) |
| bool | TransformCoords (OCT *pTransform, bool progress_callback(int)=0) |
| bool | AppendGeometryFrom (vtFeatureSet *pFromSet) |
| int | AddPolyLine (const DLine3 &pl) |
| const DLine3 & | GetPolyLine (unsigned int num) const |
| DLine3 & | GetPolyLine (unsigned int num) |
| bool | ComputeHeightRange (float &fmin, float &fmax) |
| int | NumTotalVertices () const |
| bool | FindClosest (const DPoint2 &p, int &close_feature, DPoint3 &close_point) |
| virtual bool | IsInsideRect (int iElem, const DRECT &rect) |
| virtual void | CopyGeometry (unsigned int from, unsigned int to) |
| virtual void | SaveGeomToSHP (SHPHandle hSHP, bool progress_callback(int)=0) const |
| virtual void | LoadGeomFromSHP (SHPHandle hSHP, bool progress_callback(int)=0) |
Protected Attributes | |
| std::vector< DLine3 > | m_Line |
A set of 3D linestring features, also known as "polylines." Each linestring is basically a simple set of 3D points.
| bool vtFeatureSetLineString3D::FindClosest | ( | const DPoint2 & | p, |
| int & | close_feature, | ||
| DPoint3 & | close_point | ||
| ) |
For a given 2D point, find the linear feature closest to it (horizontally), and the closest point on that feature. Return true if a feature was found.
| void vtFeatureSetLineString3D::Reserve | ( | int | iNum | ) | [virtual] |
If you know how many entities you will be adding to this FeatureSet, is it more efficient to reserve space for that many.
Implements vtFeatureSet.
1.7.4