Support Forum G3D Web Page |
Public Member Functions | |
PolyLineGeneric () | |
PolyLineGeneric (const Array< VertexType > &v, bool reverse=false) | |
Set first == last to close. More... | |
bool | closed () const |
float | distance (const VertexType &p, int &segmentIndex=dummyInt) const |
More... | |
int | numSegments () const |
int | numVertices () const |
Returns 1 + num segments; If the polyline is closed, the first and last vertex will be identical. More... | |
const SegmentType & | segment (int s) const |
VertexType | vertex (int i) const |
|
inline |
|
inline |
Set first == last to close.
|
inline |
|
inline |
segmentIndex | returns the index of the closest segment. |
|
inline |
|
inline |
Returns 1 + num segments; If the polyline is closed, the first and last vertex will be identical.
|
inline |
|
inline |