|
| | BallJoint () |
| | Default constructor for owning BallJoints. Default initialize the line segment.
|
| | BallJoint ()=delete |
| | No default constructor for viewing BallJointss.
|
| | BallJoint (const line_segment_t &line_segment) |
| | Constructor to initialize the underlying line segment.
|
| template<mundy::ValidLineSegmentType OtherLineSegmentType> |
| | BallJoint (const OtherLineSegmentType &line_segment) |
| | Constructor to initialize the underlying line segment.
|
| | ~BallJoint ()=default |
| | Destructor.
|
| | BallJoint (const BallJoint< value_type, line_segment_t, ownership_t > &other) |
| | Deep copy constructor.
|
| template<typename OtherBallJointType> |
| | BallJoint (const OtherBallJointType &other) |
| | Deep copy constructor.
|
| | BallJoint (BallJoint< value_type, line_segment_t, ownership_t > &&other) |
| | Deep move constructor.
|
| template<typename OtherBallJointType> |
| | BallJoint (OtherBallJointType &&other) |
| | Deep move constructor.
|
| BallJoint< value_type, line_segment_t, ownership_t > & | operator= (const BallJoint< value_type, line_segment_t, ownership_t > &other) |
| | Copy assignment operator.
|
| template<typename OtherBallJointType> |
| BallJoint< value_type, line_segment_t, ownership_t > & | operator= (const OtherBallJointType &other) |
| | Copy assignment operator.
|
| BallJoint< value_type, line_segment_t, ownership_t > & | operator= (BallJoint< value_type, line_segment_t, ownership_t > &&other) |
| | Move assignment operator.
|
| template<typename OtherBallJointType> |
| BallJoint< value_type, line_segment_t, ownership_t > & | operator= (OtherBallJointType &&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.
|
template<typename
Scalar,
mundy::ValidLineSegmentType LineSegmentType = mundy::LineSegment<Scalar>, typename OwnershipType = mundy::Ownership::Owns>
class mundy::BallJoint< Scalar, LineSegmentType, OwnershipType >
The BallJoint is a simple mechanical joint that constrains two points to have zero separation. It does not have any physical properties beyond those of its underlying geometry. Although, depending on the use case, it will be augmented to include a finite spring constant (if imposed as a soft constraint) or three Lagrange multipliers (if imposed as a hard constraint).