[][src]Struct nphysics3d::joint::PlanarJoint

pub struct PlanarJoint<N: Real> { /* fields omitted */ }

A joint that allows 1 rotational and 2 translational degrees of freedom.

Methods

impl<N: Real> PlanarJoint<N>
[src]

Create a new planar joint where both translational degrees of freedoms are along the provide axii.

The rotational degree of freedom is along an axis orthogonal to axis1 and axis2. Idealy, the two provided axii should be orthogonal. All axis are in the local coordinate space of the attached multibody links.

Panics if axis1 and axis2 are near-colinear.

impl<N: Real> PlanarJoint<N>
[src]

The lower limit of the relative translational displacement of the attached multibody links along the joint axis.

The upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Returns true if the joint translational motor is enabled.

Enable the joint translational motor.

Disable the joint translational motor.

The desired relative translational velocity to be enforced by the joint motor.

Set the desired relative translational velocity to be enforced by the joint motor.

The maximum force that can be output by the joint translational motor.

Set the maximum force that can be output by the joint translational motor.

impl<N: Real> PlanarJoint<N>
[src]

The lower limit of the relative translational displacement of the attached multibody links along the joint axis.

The upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Returns true if the joint translational motor is enabled.

Enable the joint translational motor.

Disable the joint translational motor.

The desired relative translational velocity to be enforced by the joint motor.

Set the desired relative translational velocity to be enforced by the joint motor.

The maximum force that can be output by the joint translational motor.

Set the maximum force that can be output by the joint translational motor.

impl<N: Real> PlanarJoint<N>
[src]

The lower limit of the rotation angle.

The upper limit of the rotation angle.

Disable the lower limit of the rotation angle.

Disable the upper limit of the rotation angle.

Enable and set the lower limit of the rotation angle.

Enable and set the upper limit of the rotation angle.

Return true if the angular motor of this joint is enabled.

Enable the angular motor of this joint.

Disable the angular motor of this joint.

The desired angular velocity of the joint motor.

Set the desired angular velocity of the joint motor.

The maximum torque that can be delivered by the joint motor.

Set the maximum torque that can be delivered by the joint motor.

Trait Implementations

impl<N: Real> Joint<N> for PlanarJoint<N>
[src]

The maximum number of impulses needed by this joints for its constraints. Read more

impl<N: Copy + Real> Copy for PlanarJoint<N>
[src]

impl<N: Clone + Real> Clone for PlanarJoint<N>
[src]

Performs copy-assignment from source. Read more

impl<N: Debug + Real> Debug for PlanarJoint<N>
[src]

Auto Trait Implementations

impl<N> Send for PlanarJoint<N> where
    N: Scalar

impl<N> Sync for PlanarJoint<N> where
    N: Scalar

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 

impl<T> Same for T

Should always be Self