20 #ifndef NurbsCurve1s_H_
21 #define NurbsCurve1s_H_
23 #include "mbsimFlexibleBody/contours/contour1s.h"
24 #include "mbsim/numerics/nurbs/nurbs_curve.h"
26 namespace MBSimFlexibleBody {
51 virtual std::string getType()
const {
return "NurbsCurve1s"; }
MBSim::NurbsCurve curveAngularVelocities
interpolated angular velocities of the contour
Definition: nurbs_curve_1s.h:136
void initContourFromBody(InitStage stage)
initialize NURBS curve
Definition: nurbs_curve_1s.cc:31
void computeCurveTranslations(bool update=false)
interpolates the translations with node-data from body
Definition: nurbs_curve_1s.cc:63
MBSim::NurbsCurve curveTranslations
interpolated translations of the contour
Definition: nurbs_curve_1s.h:126
basic class for contours described by one contour parameter
Definition: contour1s.h:35
int Elements
number of elements
Definition: nurbs_curve_1s.h:101
double L
length of entire curve
Definition: nurbs_curve_1s.h:116
virtual ~NurbsCurve1s()
destructor
Definition: nurbs_curve_1s.h:48
fmatvec::Vec3 normalRotationGrid
closest normal on rotation grid to update direction of normal of nurbs-curve and to avoid jumping ...
Definition: nurbs_curve_1s.h:141
void computeCurveJacobians(bool trans=true, bool rot=true, bool update=false)
interpolates the Jacobians of translation with the node-data from the body
Definition: nurbs_curve_1s.cc:133
contour 1s flexible with NURBS parametrization
Definition: nurbs_curve_1s.h:37
int qSize
number of DOFs
Definition: nurbs_curve_1s.h:106
int degU
interpolation degree
Definition: nurbs_curve_1s.h:121
NurbsCurve1s(const std::string &name)
constructor
Definition: nurbs_curve_1s.h:43
bool openStructure
open or closed beam structure
Definition: nurbs_curve_1s.h:111
void computeCurveVelocities(bool update=false)
interpolates the velocities with the node-data from the body
Definition: nurbs_curve_1s.cc:87
std::vector< MBSim::NurbsCurve > CurveJacobiansOfTranslation
interpolated Jacobians of Translation of the contour
Definition: nurbs_curve_1s.h:146
void computeCurveAngularVelocities(bool update=false)
interpolates the angular velocities with the node-data from the body
Definition: nurbs_curve_1s.cc:110
std::vector< MBSim::NurbsCurve > CurveJacobiansOfRotation
interpolated Jacobians of Rotation on the contour
Definition: nurbs_curve_1s.h:151
MBSim::NurbsCurve curveVelocities
interpolated velocities of the contour
Definition: nurbs_curve_1s.h:131