pub fn compose_project_frame(
operation: &ProjectToMap,
project_frame: Transform3,
) -> GeorefResult<Transform3>Expand description
Compose an externally supplied project frame with a resolved project-to-map operation, producing the project frame’s map-frame transform.
project_frame maps a point from some product-local space into the
project’s own engineering coordinate system (metres, matching
operation.project_unit). The result maps that same point straight into
map coordinates: map_frame = operation.transform * project_frame, i.e.
project_frame is applied first.
Refuses (rather than silently propagating NaN/Inf) when
project_frame’s linear part is not invertible: a singular frame means
the supplied placement collapsed a dimension, and composing it here would
produce map coordinates that look plausible but encode no real position.