A hookean spring between two points with a max length and spring constant.
|
| | FeneSpring () |
| | Default constructor for owning FeneSprings. Default initialize the line segment and set the spring constant and max length to -1.
|
| | FeneSpring ()=delete |
| | No default constructor for viewing FeneSpringss.
|
| | FeneSpring (const line_segment_t &line_segment, const value_type &max_length, const value_type &spring_constant) |
| | Constructor to initialize the line segment, max length, and spring constant.
|
| template<mundy::ValidLineSegmentType OtherLineSegmentType> |
| | FeneSpring (const OtherLineSegmentType &line_segment, const value_type &max_length, const value_type &spring_constant) |
| | Constructor to initialize the start and end points.
|
| | ~FeneSpring ()=default |
| | Destructor.
|
| | FeneSpring (const FeneSpring< value_type, line_segment_t, ownership_t > &other) |
| | Deep copy constructor.
|
| template<typename OtherFeneSpringType> |
| | FeneSpring (const OtherFeneSpringType &other) |
| | Deep copy constructor.
|
| | FeneSpring (FeneSpring< value_type, line_segment_t, ownership_t > &&other) |
| | Deep move constructor.
|
| template<typename OtherFeneSpringType> |
| | FeneSpring (OtherFeneSpringType &&other) |
| | Deep move constructor.
|
| FeneSpring< value_type, line_segment_t, ownership_t > & | operator= (const FeneSpring< value_type, line_segment_t, ownership_t > &other) |
| | Copy assignment operator.
|
| template<typename OtherFeneSpringType> |
| FeneSpring< value_type, line_segment_t, ownership_t > & | operator= (const OtherFeneSpringType &other) |
| | Copy assignment operator.
|
| FeneSpring< value_type, line_segment_t, ownership_t > & | operator= (FeneSpring< value_type, line_segment_t, ownership_t > &&other) |
| | Move assignment operator.
|
| template<typename OtherFeneSpringType> |
| FeneSpring< value_type, line_segment_t, ownership_t > & | operator= (OtherFeneSpringType &&other) |
| | Move assignment operator.
|
| const line_segment_t & | line_segment () const |
| | Accessor for the line segment.
|
| line_segment_t & | line_segment () |
| | Accessor for the line segment.
|
| const value_type & | max_length () const |
| | Accessor for the max length.
|
| value_type & | max_length () |
| | Accessor for the max length.
|
| const value_type & | spring_constant () const |
| | Accessor for the spring constant.
|
| value_type & | spring_constant () |
| | Accessor for the spring constant.
|