Skip to main content

reference_plane

Function reference_plane 

Source
pub fn reference_plane(
    prefix: &[FeatureResult],
    name: &str,
) -> Result<([f64; 3], [f64; 3]), String>
Expand description

The plane a picked name stands for, against the scene prefix builds: (origin, outward unit normal). A PLANAR face gives its own plane, its normal pointing out of the material; a datum plane gives its frame’s z. Anything else is refused by name: a seating plane must be a plane.