Class for working with 3D-line. More...
Public Types | |
typedef comms::cLineF3 | Line |
Public Member Functions | |
Line3 & | add (const Vec3 &) |
Line3 & | addToStart (const Vec3 &) |
Vec3 | first () const |
Vec3 | last () const |
Vec3 | node (int i) const |
Vec3 | operator() (int i) const |
Line3 | firstSegment () const |
Line3 | lastSegment () const |
Line3 | segment (int segment) const |
int | countNodes () const |
int | countSegments () const |
float | length () const |
float | lengthSegment (int segment) const |
float | distanceMin (const Vec3 &) const |
float | distanceAvg (const Vec3 &) const |
float | distanceMax (const Vec3 &) const |
Line3 & | transform (const Mat4 &) |
Line3 | transformCopy (const Mat4 &) const |
Line3 & | transformNode (int i, const Mat4 &) |
Line3 | transformNodeCopy (int i, const Mat4 &) const |
Line3 & | subdivide (int quant) |
Line3 | subdivideCopy (int quant) const |
Line3 & | clear () |
Class for working with 3D-line.