Skip to main content

solid_closest_points

Function solid_closest_points 

Source
pub fn solid_closest_points(
    solid: &BrepSolid,
    points: &[Vec3],
    tolerance: f64,
) -> Result<Vec<Vec3>, KernelRefusal>
Expand description

The point of the solid nearest each point: the point itself where the solid holds it (inside or on its boundary, at tolerance), otherwise its nearest boundary point.