pub fn classify_point(
topo: &Topology,
solid: SolidId,
point: Point3,
deflection: f64,
tolerance: f64,
) -> Result<PointClassification, OperationsError>Expand description
Classifies a point relative to a solid using analytic ray casting.
Shoots a ray from point and counts crossings with the solid’s
boundary faces. Uses direct ray-surface intersection for analytic
faces (plane, cylinder, cone, sphere, torus) and tessellation
only for NURBS faces.
deflection controls tessellation quality for NURBS faces.
tolerance is the distance threshold for “on boundary” classification.
§Errors
Returns an error if the solid or its faces are invalid.