Struct collision::Sphere [] [src]

pub struct Sphere<S: BaseFloat> {
    pub center: Point3<S>,
    pub radius: S,
}

Fields

Trait Implementations

impl<S: Copy + BaseFloat> Copy for Sphere<S>
[src]

impl<S: Clone + BaseFloat> Clone for Sphere<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: PartialEq + BaseFloat> PartialEq for Sphere<S>
[src]

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

This method tests for !=.

impl<S: Debug + BaseFloat> Debug for Sphere<S>
[src]

Formats the value using the given formatter.

impl<S: BaseFloat + 'static> Bound<S> for Sphere<S>
[src]

Classify the spatial relation with a plane.

Classify the relation with a projection matrix.