Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::HelixP::Data Struct Reference

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 > &center, Length a, Length b) noexcept

Public Attributes

spat::VectorBundle2< Length, Onecenter
Length a
 radius (not curve radius)
Length b
 b/a == tan(alpha) : slope

Detailed Description

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.

Member Data Documentation

◆ center

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.


The documentation for this struct was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/Curve.h