![]() |
Trax3 3.1.0
trax track library
|
This calculates the normal vector, curvature and torsion numerically using the relations derived from the Frenet-Serret formulas: More...
#include <C:/Trend/Development/Trax3/Code/trax/Curve_Imp.h>

Public Member Functions | |
| AnglePerLength | Curvature (Length s) const override |
| AnglePerLength | Torsion (Length s) const override |
| void | Transition (Length s, VectorBundle2< Length, One > &bundle) const override |
| Public Member Functions inherited from trax::Curve_Imp< Function, Base > | |
| Curve_Imp (Real length) noexcept | |
| bool | IsValid () const noexcept override |
| AnglePerLength | Curvature (Length s) const override |
| AnglePerLength | Torsion (Length s) const override |
| void | Transition (Length s, Position< Length > &pos) const override |
| void | Transition (Length s, Vector< One > &tan) const override |
| void | Transition (Length s, VectorBundle< Length, One > &bundle) const override |
| void | Transition (Length s, VectorBundle2< Length, One > &bundle) const override |
| void | Transition (Length s, Frame< Length, One > &frame) const override |
| std::vector< Length > | ZeroSet () const override |
| common::Interval< Length > | Range () const override |
| spat::Frame< Length, One > | GetCurveLocalTransformation () const override |
| bool | Mirror (const spat::VectorBundle< Length, One > &mirrorPlane) noexcept(noexcept(f.Mirror(mirrorPlane))) override |
| bool | Equals (const Curve &toCurve, common::Interval< Length > range, Length epsilon_length, Angle epsilon_angle) const noexcept override |
| common::Interval< Length > | Create (const DataType &data) override |
| const DataType & | GetData () const noexcept override |
Additional Inherited Members | |
| Public Types inherited from trax::Curve_Imp< Function, Base > | |
| using | DataType = typename Base::Data |
| Protected Member Functions inherited from trax::Curve_Imp< Function, Base > | |
| Length | SampleStep () const noexcept |
| common::Interval< Length > | Sample () |
| One | t (Length s) const noexcept |
| Parameter from arc length function to evaluate f. | |
| Length | s (One t) const noexcept |
| Arc length s from parameter t calculated by bisection. | |
| bool | CheckSamples () const noexcept |
| Protected Attributes inherited from trax::Curve_Imp< Function, Base > | |
| Function | f |
This calculates the normal vector, curvature and torsion numerically using the relations derived from the Frenet-Serret formulas:
N = dT/ds / |dT/ds|; k = dT/ds * N; t = -dB/ds * N;