Skip to main content

placement_accuracy

Function placement_accuracy 

Source
pub fn placement_accuracy(
    graph: &GeometryGraph,
    id: NodeId,
    tolerance: Scalar,
) -> GeomResult<PlacementAccuracy>
Expand description

How far the placement placement resolves for the InstanceAtStation node id lies from the exact one, its frame law’s quadratures certified to tolerance (see placing at a station).

PlacementAccuracy::Exact exactly when the placement is (ResolvedPlacement::exact); a certified bound is finite and not negative. Both read the frame the placement reads, bit for bit.

§Errors

A node that is not an InstanceAtStation, a tolerance that is not finite and positive, and every refusal of placement, each by name.