![]() |
Trax3 3.1.0
trax track library
|
Data definig the curve. More...
#include <C:/Trend/Development/Trax3/Code/trax/Curve.h>
Public Member Functions | |
| constexpr AnglePerLength | Curvature () noexcept |
| constexpr AnglePerLength | Torsion () noexcept |
| constexpr One | Slope () const noexcept |
Construction | |
| Data (Length radius, One slope) noexcept | |
| constexpr | Data (const spat::VectorBundle2< Length, One > ¢er, Length a, Length b) noexcept |
Public Attributes | |
| spat::VectorBundle2< Length, One > | center |
| Length | a |
| radius (not curve radius) | |
| Length | b |
| b/a == tan(alpha) : slope | |
Data definig the curve.
This is used for persistence. GetData() receives the data and there is a Create() method to create the curve from this data set without any caculations made that might distort the values during many read/write cycles.
| spat::VectorBundle2<Length,One> trax::HelixP::Data::center |
The center around which the helix turns. The T vector points to the helix at parameter 0, N together with T defines a plane, the helix crosses, N points toward the direction, the helix departs for positive s.