Skip to main content

split_solid_by_plane_json

Function split_solid_by_plane_json 

Source
pub fn split_solid_by_plane_json(request_json: &str) -> Result<String, JsValue>
Expand description

Cut a solid by a plane (Golovanov §6.4). Returns { "below": <solid>, "above": <solid> } — the −n and +n pieces of the split. Errors with “plane does not intersect the solid” when the plane misses the body.