Marine systems simulation
CoRiBoDynamics::Utilities::HelixSegment Class Reference
+ Inheritance diagram for CoRiBoDynamics::Utilities::HelixSegment:
+ Collaboration diagram for CoRiBoDynamics::Utilities::HelixSegment:

Public Member Functions

 HelixSegment (double inner_radius, double curve_radius, double z_offset, double length=std::numeric_limits< double >::max())
 
virtual void Compute (double parameter_coordinate, double element_length, vec3 &Position, Quat &Orientation) override
 
virtual double Length () override
 
void SetOrientation (const vec3 &P, const Quat &Q)
 
void SetOrientation (const vec3 &P, const Quat &Q, bool right_winding)
 
- Public Member Functions inherited from CoRiBoDynamics::Utilities::CurveSegment
virtual void Compute (double parameter_coordinate, double element_length, vec3 &Position, Quat &Orientation)=0
 
virtual double Length ()=0
 
vec3 GetStartPoint ()
 
vec3 GetEndPoint ()
 

Protected Attributes

double m_major_radius
 
double m_delta
 
double m_theta_offset
 
double m_helix_length_factor
 
vec3 m_P
 
Quat m_Q
 
bool m_right_winding
 
double m_length
 

Member Function Documentation

◆ Compute()

virtual void CoRiBoDynamics::Utilities::HelixSegment::Compute ( double  parameter_coordinate,
double  element_length,
vec3 &  Position,
Quat &  Orientation 
)
overridevirtual

◆ Length()

virtual double CoRiBoDynamics::Utilities::HelixSegment::Length ( )
overridevirtual

The documentation for this class was generated from the following file: