[][src]Struct nphysics2d::solver::BilateralGroundConstraint

pub struct BilateralGroundConstraint<N: Real> {
    pub impulse: N,
    pub r: N,
    pub rhs: N,
    pub limits: ImpulseLimits<N>,
    pub impulse_id: usize,
    pub assembly_id: usize,
    pub j_id: usize,
    pub wj_id: usize,
    pub ndofs: usize,
}

A bilateral (equality) constraint between a dynamic body and one without any degrees of freedom.

Fields

The impulse applied by the constraint.

The scaling parameter used by the SOR-prox method.

The target velocity change this constraint must apply.

Limits of impulse applicable by this constraint.

The index of the impulse used for its storage in an impuse cache.

The assembly index of the dynamic body.

Index of the first entry of the jacobian of the constraint affecting the dynamic body.

Index of the first entry of the constraint jacobian multiplied by the inverse mass of the dynamic body.

Number of degree of freedom of the dynamic body.

Methods

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

Create a new unilateral ground constraint.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[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