pub fn vertical_profile_law(
model: &Model,
entity: EntityId,
units: AlignmentUnits,
) -> AlignmentResult<ElevationLaw>Expand description
The exact profile of an IfcAlignmentVertical, checked at the seam
tolerance the model declares.
Reads the nested segment chain in authored order and joins it with
profile_law_within at SeamTolerance::for_model. This is the
entry point for a profile read from a file: an exporter that rounds
stations or heights to its stated Precision is accepted, a step beyond
it is still refused.
Like profile_law, the law is indexed by distance from the FIRST
segment’s StartDistAlong; the composed gradient curve re-indexes it to
plan distance.
§Errors
Refuses a model that is not IFC4X3, an entity that is not an
IfcAlignmentVertical, an empty layout, an invalid declared
Precision, and everything profile_law refuses.