Trait parry3d::query::details::NormalConstraintsPair

source ·
pub trait NormalConstraintsPair {
    // Required method
    fn project_local_normals(
        &self,
        pos12: &Isometry<Real>,
        normal1: &mut Vector<Real>,
        normal2: &mut Vector<Real>
    ) -> bool;
}
Expand description

A pair of NormalConstraints.

Required Methods§

source

fn project_local_normals( &self, pos12: &Isometry<Real>, normal1: &mut Vector<Real>, normal2: &mut Vector<Real> ) -> bool

Applies the normal constraints to normal1 and normal2.

This trait is mostly used internally to combine two NormalConstraints conveniently.

Implementations on Foreign Types§

source§

impl NormalConstraintsPair for (Option<&dyn NormalConstraints>, Option<&dyn NormalConstraints>)

source§

fn project_local_normals( &self, pos12: &Isometry<Real>, normal1: &mut Vector<Real>, normal2: &mut Vector<Real> ) -> bool

Implementors§