Skip to main content

linear_properties

Function linear_properties 

Source
pub fn linear_properties(
    model: &Model,
    shape: &Shape,
    deflection: Deflection,
    tol: Tolerances,
) -> OgeomResult<MassProperties>
Expand description

The length of a shape’s edges, and how it is distributed.

Every distinct edge counts once, however many faces it bounds: the wire frame of the shape, not a tally weighted by use.

§Errors

OgeomError::Construction if the deflection settings are unusable, or a curve is missing from the model.