Expand description
IfcBoundedSurface: finite patches cut from infinite surfaces.
Covers IfcCurveBoundedPlane, IfcCurveBoundedSurface and
IfcRectangularTrimmedSurface.
§The two ways to bound a surface
By curves. IfcCurveBoundedPlane and IfcCurveBoundedSurface name
boundary curves. The difference between them is subtle and load-bearing:
the plane variant separates OuterBoundary from InnerBoundaries
explicitly, so holes are unambiguous. The surface variant has a single
Boundaries set and an ImplicitOuter flag; when that flag is true, no
member is the outline and the surface’s own natural parameter bounds serve
as the outer boundary, making every listed boundary a hole. A consumer that
treats the first member of Boundaries as the outline gets a hole-shaped
patch instead of a patch with a hole.
By parameter range. IfcRectangularTrimmedSurface cuts a rectangle in
(u, v) space. Its U1/U2 and V1/V2 are parameters, which on a
cylinder or sphere means angles, so a length unit scale applied to them is
wrong. See crate::surface::elementary::ParameterKind.
§Why Usense and Vsense are not redundant
On a closed (periodic) parameter direction, U1 = 350deg and U2 = 10deg
describe two different patches: the 20-degree sliver or the 340-degree
remainder. Usense picks which. IFC’s own rule is that for a non-closed
direction the sense must agree with U1 < U2, but for a closed one both
orders are legal – exactly the four-arc problem of IfcTrimmedCurve,
transposed to surfaces. Nothing here reorders the bounds.
Structs§
- Curve
Bounded Plane - A borrowed view of an
IfcCurveBoundedPlane. - Curve
Bounded Surface - A borrowed view of an
IfcCurveBoundedSurface. - Rectangular
Trimmed Surface - A borrowed view of an
IfcRectangularTrimmedSurface. - Trim
Rectangle - The parameter rectangle cut from a surface, with senses intact.