Skip to main content

edges_turn

Function edges_turn 

Source
pub fn edges_turn(
    model: &Model,
    edges: &[Shape],
    axis: Vector,
    tol: Tolerances,
) -> OgeomResult<f64>
Expand description

How a closed walk of edge occurrences turns about axis: twice the area it encloses projected square to the axis, signed by the right-hand rule, from points sampled along the edges in traversal order. Positive for a ring walked counter-clockwise about axis.

§Errors

As the model’s placements and the curves’ evaluation.