pub trait PointQuery {
    fn project_local_point(
        &self,
        pt: &Point<Real>,
        solid: bool
    ) -> PointProjection; fn project_local_point_and_get_feature(
        &self,
        pt: &Point<Real>
    ) -> (PointProjection, FeatureId); fn project_local_point_with_max_dist(
        &self,
        pt: &Point<Real>,
        solid: bool,
        max_dist: Real
    ) -> Option<PointProjection> { ... } fn project_point_with_max_dist(
        &self,
        m: &Isometry<Real>,
        pt: &Point<Real>,
        solid: bool,
        max_dist: Real
    ) -> Option<PointProjection> { ... } fn distance_to_local_point(&self, pt: &Point<Real>, solid: bool) -> Real { ... } fn contains_local_point(&self, pt: &Point<Real>) -> bool { ... } fn project_point(
        &self,
        m: &Isometry<Real>,
        pt: &Point<Real>,
        solid: bool
    ) -> PointProjection { ... } fn distance_to_point(
        &self,
        m: &Isometry<Real>,
        pt: &Point<Real>,
        solid: bool
    ) -> Real { ... } fn project_point_and_get_feature(
        &self,
        m: &Isometry<Real>,
        pt: &Point<Real>
    ) -> (PointProjection, FeatureId) { ... } fn contains_point(&self, m: &Isometry<Real>, pt: &Point<Real>) -> bool { ... } }
Expand description

Trait of objects that can be tested for point inclusion and projection.

Required Methods

Projects a point on self.

The point is assumed to be expressed in the local-space of self.

Projects a point on the boundary of self and returns the id of the feature the point was projected on.

Provided Methods

Projects a point on self, unless the projection lies further than the given max distance.

The point is assumed to be expressed in the local-space of self.

Projects a point on self transformed by m, unless the projection lies further than the given max distance.

Computes the minimal distance between a point and self.

Tests if the given point is inside of self.

Projects a point on self transformed by m.

Computes the minimal distance between a point and self transformed by m.

Projects a point on the boundary of self transformed by m and returns the id of the feature the point was projected on.

Tests if the given point is inside of self transformed by m.

Implementors