Skip to main content

Module intersect

Module intersect 

Source
Expand description

Analytic intersection result types. Analytic intersection result types.

The intersect_* methods on the analytic curves and surfaces return these enums: the intersecting geometry on success, or an explicit classification when the pair is tangent, disjoint, parallel, or coincident. Tangency and coincidence are decided with crate::Tolerance, so near-degenerate configurations classify robustly instead of collapsing to noise.

Enumsยง

ConeConeIntersection
Result of intersecting two cones.
ConeCylinderIntersection
Result of intersecting a cone with a cylinder.
CylinderCylinderIntersection
Result of intersecting two cylinders.
LinePlaneIntersection
Result of intersecting a line with a plane.
LineQuadricIntersection
Result of intersecting a line with a sphere, cylinder, or cone.
PlaneConeIntersection
Result of intersecting a plane with a cone.
PlaneCylinderIntersection
Result of intersecting a plane with a cylinder.
PlanePlaneIntersection
Result of intersecting two planes.
PlaneSphereIntersection
Result of intersecting a plane with a sphere.
SphereConeIntersection
Result of intersecting a sphere with a cone.
SphereCylinderIntersection
Result of intersecting a sphere with a cylinder.
SphereSphereIntersection
Result of intersecting two spheres.
TorusConeIntersection
Result of intersecting a torus with a cone.
TorusCylinderIntersection
Result of intersecting a torus with a cylinder.
TorusPlaneIntersection
Result of intersecting a torus with a plane.
TorusSphereIntersection
Result of intersecting a torus with a sphere.
TorusTorusIntersection
Result of intersecting two tori.