A hookean spring between two points with a rest angle and spring constant.
|
| | TorsionalSpring () |
| | Default constructor for owning TorsionalSprings. Default initialize the line segment and set the spring constant and rest angle to -1.
|
| | TorsionalSpring ()=delete |
| | No default constructor for viewing TorsionalSpringss.
|
| | TorsionalSpring (const v_segment_t &v_segment, const value_type &rest_angle, const value_type &spring_constant) |
| | Constructor to initialize the line segment, rest angle, and spring constant.
|
| template<mundy::ValidVSegmentType OtherVSegmentType> |
| | TorsionalSpring (const OtherVSegmentType &v_segment, const value_type &rest_angle, const value_type &spring_constant) |
| | Constructor to initialize the start and end points.
|
| | ~TorsionalSpring ()=default |
| | Destructor.
|
| | TorsionalSpring (const TorsionalSpring< value_type, v_segment_t, ownership_t > &other) |
| | Deep copy constructor.
|
| template<typename OtherTorsionalSpringType> |
| | TorsionalSpring (const OtherTorsionalSpringType &other) |
| | Deep copy constructor.
|
| | TorsionalSpring (TorsionalSpring< value_type, v_segment_t, ownership_t > &&other) |
| | Deep move constructor.
|
| template<typename OtherTorsionalSpringType> |
| | TorsionalSpring (OtherTorsionalSpringType &&other) |
| | Deep move constructor.
|
| TorsionalSpring< value_type, v_segment_t, ownership_t > & | operator= (const TorsionalSpring< value_type, v_segment_t, ownership_t > &other) |
| | Copy assignment operator.
|
| template<typename OtherTorsionalSpringType> |
| TorsionalSpring< value_type, v_segment_t, ownership_t > & | operator= (const OtherTorsionalSpringType &other) |
| | Copy assignment operator.
|
| TorsionalSpring< value_type, v_segment_t, ownership_t > & | operator= (TorsionalSpring< value_type, v_segment_t, ownership_t > &&other) |
| | Move assignment operator.
|
| template<typename OtherTorsionalSpringType> |
| TorsionalSpring< value_type, v_segment_t, ownership_t > & | operator= (OtherTorsionalSpringType &&other) |
| | Move assignment operator.
|
| const v_segment_t & | v_segment () const |
| | Accessor for the line segment.
|
| v_segment_t & | v_segment () |
| | Accessor for the line segment.
|
| const value_type & | rest_angle () const |
| | Accessor for the rest angle.
|
| value_type & | rest_angle () |
| | Accessor for the rest angle.
|
| const value_type & | spring_constant () const |
| | Accessor for the spring constant.
|
| value_type & | spring_constant () |
| | Accessor for the spring constant.
|