Struct collision::Cylinder
[−]
[src]
pub struct Cylinder<S> { pub center: Point3<S>, pub axis: Vector3<S>, pub radius: S, }
Bounding cylinder
Fields
center: Point3<S>
Center point
axis: Vector3<S>
Axis the cylinder is aligned with
radius: S
Radius of the cylinder
Trait Implementations
impl<S: Copy> Copy for Cylinder<S>
[src]
impl<S: Clone> Clone for Cylinder<S>
[src]
fn clone(&self) -> Cylinder<S>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S: PartialEq> PartialEq for Cylinder<S>
[src]
fn eq(&self, __arg_0: &Cylinder<S>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cylinder<S>) -> bool
[src]
This method tests for !=
.