pub fn rectangular_trimmed_surface(
tx: &mut Transaction,
basis: EntityId,
u: (f64, f64),
v: (f64, f64),
) -> Result<EntityId, GeometryError>Expand description
Stage an IfcRectangularTrimmedSurface.
The senses are derived from the parameters, not taken from the
caller: the schema requires Vsense = (V2 > V1) (and the same for u
on most basis surfaces), so accepting a sense that could disagree
would only create a way to write an invalid file.
§Errors
Refuses u1 == u2 or v1 == v2 – a trim of zero extent in either
direction – or a non-finite parameter.