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 to start with; the fit
is held to tolerance against the feet at those samples and between
them, the sampling refined where it misses, and states what it reached
where it cannot. 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.