pub fn normal_projection(
model: &mut Model,
target: &Shape,
wire: &Shape,
stations: usize,
tolerance: f64,
tol: Tolerances,
) -> OgeomResult<(Vec<Projected>, Built)>Expand description
Project every edge of wire onto the faces of target.
stations is how finely each edge is sampled; the fit is held to
tolerance against those samples. Both are the caller’s, because both
are the answer’s accuracy and this cannot guess what it is for.
§Errors
OgeomError::Construction if
stations is under four or tolerance is not a usable distance, and
whatever the fit refuses.