pub enum PlaneSphereIntersection {
Circle(Circle),
TangentPoint(Point),
Empty,
}Expand description
Result of intersecting a plane with a sphere.
Variants§
Circle(Circle)
The plane cuts the sphere in a circle.
TangentPoint(Point)
The plane grazes the sphere in a single point.
Empty
The plane misses the sphere.
Trait Implementations§
Source§impl Clone for PlaneSphereIntersection
impl Clone for PlaneSphereIntersection
impl Copy for PlaneSphereIntersection
Source§impl Debug for PlaneSphereIntersection
impl Debug for PlaneSphereIntersection
Source§impl From<PlaneSphereIntersection> for ExactSurfaceIntersection
impl From<PlaneSphereIntersection> for ExactSurfaceIntersection
Source§fn from(result: PlaneSphereIntersection) -> ExactSurfaceIntersection
fn from(result: PlaneSphereIntersection) -> ExactSurfaceIntersection
Converts to this type from the input type.
Source§impl PartialEq for PlaneSphereIntersection
impl PartialEq for PlaneSphereIntersection
impl StructuralPartialEq for PlaneSphereIntersection
Auto Trait Implementations§
impl Freeze for PlaneSphereIntersection
impl RefUnwindSafe for PlaneSphereIntersection
impl Send for PlaneSphereIntersection
impl Sync for PlaneSphereIntersection
impl Unpin for PlaneSphereIntersection
impl UnsafeUnpin for PlaneSphereIntersection
impl UnwindSafe for PlaneSphereIntersection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more