[−][src]Trait mgf::Constraint
A type that represents a constraint between some objects.
Associated Types
type Index: Copy
A type used to index ConstrainedSets in order to retrieve information on the objects being constrained.
type Constrained
A type representing values that are constrained by (and thus modified by solving) the constraint.
type Inspected
A type representing extra information required to solve the constraint that is not modified.
Required methods
fn solve<T: ConstrainedSet<Self::Index, Self::Constrained, Self::Inspected>>(
&mut self,
_: &mut T
)
&mut self,
_: &mut T
)
Solve the constraint.
Implementors
impl<Index, Params> Constraint for ContactConstraint<Index, Params> where
Index: Copy,
Params: ContactConstraintParams,
[src]
Index: Copy,
Params: ContactConstraintParams,
type Index = Index
type Constrained = Velocity
type Inspected = RigidBodyInfo
fn solve<T: ConstrainedSet<Index, Velocity, RigidBodyInfo>>(
&mut self,
pool: &mut T
)
[src]
&mut self,
pool: &mut T
)