DART  6.10.1
dart::dynamics::ArrowShape::Properties Struct Reference

#include <ArrowShape.hpp>

Public Member Functions

 Properties (double _radius=0.01, double _headRadiusScale=2.0, double _headLengthScale=0.15, double _minHeadLength=0, double _maxHeadLength=INFINITY, bool _doubleArrow=false)
 _radius affects the thickness of the arrow. More...
 

Public Attributes

double mRadius
 
double mHeadRadiusScale
 
double mHeadLengthScale
 
double mMinHeadLength
 
double mMaxHeadLength
 
bool mDoubleArrow
 

Constructor & Destructor Documentation

◆ Properties()

dart::dynamics::ArrowShape::Properties::Properties ( double  _radius = 0.01,
double  _headRadiusScale = 2.0,
double  _headLengthScale = 0.15,
double  _minHeadLength = 0,
double  _maxHeadLength = INFINITY,
bool  _doubleArrow = false 
)

_radius affects the thickness of the arrow.

_headRadiusScale can be [1,INFINITY) and is a multiplier that affects the wideness of the beginning of the arrow head. _headLengthScale can be [0,1] and indicates what fraction of the arrow length is to be the conical head. _minHeadLength will prevent the arrow head from being shorter than the given value; _maxHeadLength will prevent it from being longer than the given value. Set _minHeadLength and _maxHeadLength to the same value to fix the size of the arrow head.

Member Data Documentation

◆ mDoubleArrow

bool dart::dynamics::ArrowShape::Properties::mDoubleArrow

◆ mHeadLengthScale

double dart::dynamics::ArrowShape::Properties::mHeadLengthScale

◆ mHeadRadiusScale

double dart::dynamics::ArrowShape::Properties::mHeadRadiusScale

◆ mMaxHeadLength

double dart::dynamics::ArrowShape::Properties::mMaxHeadLength

◆ mMinHeadLength

double dart::dynamics::ArrowShape::Properties::mMinHeadLength

◆ mRadius

double dart::dynamics::ArrowShape::Properties::mRadius