Struct collision::Cylinder [] [src]

pub struct Cylinder<S> {
    pub center: Point3<S>,
    pub axis: Vector3<S>,
    pub radius: S,
}

Bounding cylinder

Fields

Center point

Axis the cylinder is aligned with

Radius of the cylinder

Trait Implementations

impl<S: Copy> Copy for Cylinder<S>
[src]

impl<S: Clone> Clone for Cylinder<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: PartialEq> PartialEq for Cylinder<S>
[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<S: Debug> Debug for Cylinder<S>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<S> Send for Cylinder<S> where
    S: Send

impl<S> Sync for Cylinder<S> where
    S: Sync