3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::Line3 Class Reference

Class for working with 3D-line. More...

Public Types

typedef comms::cLineF3 Line

Public Member Functions

Line3add (const Vec3 &)
Line3addToStart (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
Line3transform (const Mat4 &)
Line3 transformCopy (const Mat4 &) const
Line3transformNode (int i, const Mat4 &)
Line3 transformNodeCopy (int i, const Mat4 &) const
Line3subdivide (int quant)
Line3 subdivideCopy (int quant) const
Line3clear ()

Detailed Description

Class for working with 3D-line.