Struct k::Joint[][src]

pub struct Joint<T: Real> {
    pub name: String,
    pub joint_type: JointType<T>,
    pub limits: Option<Range<T>>,
    // some fields omitted
}

Joint with type

Fields

Name of this joint

Type of this joint

Limits of this joint

Methods

impl<T> Joint<T> where
    T: Real, 
[src]

Create new Joint with name and type

Set the angle of the joint

It returns Err if it is out of the limits, or this is fixed joint.

Returns the angle (position)

Calculate and returns the transform of the end of this joint

Trait Implementations

impl<T: Debug + Real> Debug for Joint<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone + Real> Clone for Joint<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Joint<T> where
    T: Scalar

impl<T> Sync for Joint<T> where
    T: Scalar