Trait nphysics2d::detection::joint::joint::Joint [] [src]

pub trait Joint<N: Real, A> {
    fn anchor1(&self) -> &Anchor<N, A>;
fn anchor2(&self) -> &Anchor<N, A>;
fn anchor1_pos(&self) -> A;
fn anchor2_pos(&self) -> A; }

Trait implemented by every joint.

Required Methods

The first anchor affected by this joint.

The second anchor affected by this joint.

The first attach point in global coordinates.

The second attach point in global coordinates.

Implementors