Struct k::Link [] [src]

pub struct Link<T: Real> {
    pub name: String,
    pub joint: Joint<T>,
    pub transform: Isometry3<T>,
    pub world_transform_cache: RefCell<Option<Isometry3<T>>>,
}

Joint and Link

Fields

joint instance

local transfrom of joint

cache of world transform

Methods

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

[src]

Construct a Link from name and joint instance

You can use LinkBuilder if you want.

[src]

Return the name of the joint

[src]

Updates and returns the transform of the end of the joint

[src]

Set the angle of the joint

If angle is out of limit, it returns Err.

[src]

Get the angle of the joint. If it is fixed, it returns None.

[src]

Returns if it has a joint angle. similar to is_not_fixed()

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

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter.

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more