Skip to main content

Module composite

Module composite 

Source
Expand description

IfcCompositeCurve and its segments.

§Why segments are entities, not just curve references

A composite curve is a chain of IfcCompositeCurveSegment, and each segment carries two facts the parent curve cannot: whether it is traversed forwards or backwards, and what kind of continuity holds at its far end.

SameSense = .F. is common, not exotic. Exporters reuse one IfcCircle or IfcPolyline for several outlines and flip the sense rather than emitting a mirrored copy. A consumer that ignores SameSense produces a chain whose segments do not meet: each reversed segment starts where its neighbour also starts. The failure looks like a tolerance problem and is not one.

Transition is a promise about the joint, checked by nobody. The last segment of a closed composite curve must say DISCONTINUOUS only if the curve is open; a closed curve repeats the continuity of the first joint. The code carries useful information for a kernel deciding whether it may fuse two segments into one edge, so it is exposed rather than discarded.

Structs§

CompositeCurve
A borrowed view of an IfcCompositeCurve.
CompositeCurveSegment
A borrowed view of an IfcCompositeCurveSegment.

Enums§

TransitionCode
IfcTransitionCode: what holds where one segment meets the next.

Constants§

CURVE_SEGMENT_UNREAD
Refusal for an IFC4X3 IfcCurveSegment met where a composite segment is read.