|
| | Point (const agx::Vec3 &p=agx::Vec3(), agx::Real t=DEFAULT_TENSION, agx::Real stretch=DEFAULT_STRETCH, agx::Real curvature=DEFAULT_CURVATURE) |
| | Create a spline point from a point p, tension t and stretch stretch.
|
| |
| agx::Real | getCurvature () const |
| |
| agx::Real | getStretch () const |
| |
| agx::Real | getTension () const |
| |
| void | setTension (agx::Real tension) |
| | Set the tension (N) in the point.
|
| |
| | Vec3T () |
| | Default constructor.
|
| |
| | Vec3T (const Real v[3]) |
| |
| | Vec3T (const Vec2 &v2, Real zz) |
| |
| | Vec3T (const Vec3T ©)=default |
| | Copy constructor.
|
| |
| | Vec3T (const Vec3T ©, Real length) |
| |
| | Vec3T (const Vec3T ©, Real value, size_t i) |
| |
| | Vec3T (const Vec3T< T2 > ©) |
| | Copy constructor for other types.
|
| |
| | Vec3T (Real r) |
| |
| | Vec3T (Real x, Real y, Real z) |
| |
| void | clamp (const Vec3T &min, const Vec3T &max) |
| | Clamp a vector between a lower and upper bound (per component).
|
| |
| const Vec3T | cross (const Vec3T &rhs) const |
| | Cross product method.
|
| |
| Real | distance (const Vec3T &v2) const |
| | Distance to another vector.
|
| |
| Real | distance2 (const Vec3T &v2) const |
| | Squared distance to another vector.
|
| |
| Real | distance2 (const Vec3T &v2) const |
| |
| Real | distance2 (const Vec3T &v2) const |
| |
| Real | distance2 (const Vec3T &v2) const |
| |
| Real | distance2 (const Vec3T &v2) const |
| |
| bool | equalsZero () const |
| |
| Vec3T | getPerpendicularUnitVector () const |
| |
| Vec3T | getPerpendicularUnitVector (const Vec3T &v2) const |
| | Return a unit vector perpendicular to this and another vector.
|
| |
| bool | isFinite () const |
| |
| bool | isNaN () const |
| |
| bool | isValid () const |
| |
| Real | length () const |
| | Length of the vector = sqrt( vec .
|
| |
| Real | length2 () const |
| | Length squared of the vector = vec .
|
| |
| Real | maxComponent () const |
| |
| size_t | maxElement () const |
| |
| Real | minComponent () const |
| |
| size_t | minElement () const |
| |
| Vec3T | normal () const |
| |
| Real | normalize () |
| | Normalize the vector so that it has length unity.
|
| |
| bool | operator!= (const Vec3T &v) const |
| | In-equality test.
|
| |
| Real | operator* (const Vec3T &rhs) const |
| | Dot product.
|
| |
| const Vec3T | operator* (Real rhs) const |
| | Multiply by scalar.
|
| |
| Vec3T & | operator*= (Real rhs) |
| | Unary multiply by scalar.
|
| |
| const Vec3T | operator+ (const Real &rhs) const |
| | Binary vector add.
|
| |
| const Vec3T | operator+ (const Vec3T &rhs) const |
| | Binary vector add.
|
| |
| Vec3T & | operator+= (const Real &rhs) |
| | Unary vector add.
|
| |
| Vec3T & | operator+= (const Vec3T &rhs) |
| | Unary vector add.
|
| |
| const Vec3T | operator- () const |
| | Negation operator.
|
| |
| const Vec3T | operator- (const Real &rhs) const |
| | Binary vector subtract.
|
| |
| const Vec3T | operator- (const Vec3T &rhs) const |
| | Binary vector subtract.
|
| |
| Vec3T & | operator-= (const Real &rhs) |
| | Unary vector subtract.
|
| |
| Vec3T & | operator-= (const Vec3T &rhs) |
| | Unary vector subtract.
|
| |
| const Vec3T | operator/ (Real rhs) const |
| | Divide by scalar.
|
| |
| Vec3T & | operator/= (Real rhs) |
| | Unary divide by scalar.
|
| |
| bool | operator== (const Vec3T &v) const |
| | Equality test.
|
| |
| Real & | operator[] (size_t i) |
| |
| const Real & | operator[] (size_t i) const |
| |
| const Vec3T | operator^ (const Vec3T &rhs) const |
| | Cross product operator.
|
| |
| Real * | ptr () |
| |
| const Real * | ptr () const |
| |
| void | set (const Vec3T &rhs) |
| |
| void | set (Real value) |
| |
| void | set (Real x, Real y, Real z) |
| |
| Real | setLength (Real newLength) |
| | Scale the vector so that is has the specified length.
|
| |
| void | store3 (Real *storage) const |
| | Store the tree components to the given memory area.
|
| |
| Real & | x () |
| |
| Real | x () const |
| |
| Real & | y () |
| |
| Real | y () const |
| |
| Real & | z () |
| |
| Real | z () const |
| |
Point class for storing 3D point, tension, stretch and curvature.
Definition at line 49 of file Spline.h.