Enum ncollide2d::query::ClosestPoints [] [src]

pub enum ClosestPoints<N: Real> {
    Intersecting,
    WithinMargin(Point<N>, Point<N>),
    Disjoint,
}

Closest points information.

Variants

The two objects are intersecting.

The two objects are non-intersecting but closer than a given user-defined distance.

The two objects are non-intersecting and further than a given user-defined distance.

Methods

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

[src]

Swaps the two points.

Trait Implementations

impl<N: Debug + Real> Debug for ClosestPoints<N>
[src]

[src]

Formats the value using the given formatter. Read more

impl<N: PartialEq + Real> PartialEq for ClosestPoints<N>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<N: Clone + Real> Clone for ClosestPoints<N>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N: Copy + Real> Copy for ClosestPoints<N>
[src]

Auto Trait Implementations

impl<N> Send for ClosestPoints<N>

impl<N> Sync for ClosestPoints<N>