Expand description
Curves defined relative to another curve or to a surface.
Covers IfcOffsetCurve2D, IfcOffsetCurve3D, IfcPcurve and
IfcSurfaceCurve (with its IfcIntersectionCurve and IfcSeamCurve
subtypes).
§Why offsets are not just “the same curve, moved”
An offset curve is not a translation. Every point moves perpendicular to
the basis curve’s local tangent, so where the basis curve bends more
tightly than the offset distance the result self-intersects or vanishes.
That is why both offset entities carry SelfIntersect and why this module
surfaces it rather than dropping it: it is the file’s only warning that
offsetting will not produce a simple curve.
§The 2D/3D asymmetry
IfcOffsetCurve2D has no reference direction: in the plane, “perpendicular
to the tangent” is unambiguous up to sign, and the sign comes from the
Distance value. IfcOffsetCurve3D needs RefDirection because in space
there is a whole circle of perpendiculars, and the offset direction is
RefDirection cross tangent. A consumer that treats the two entities
identically will place a 3D offset anywhere on that circle.
§IfcSurfaceCurve carries the same curve twice
Curve3D and AssociatedGeometry (one or two IfcPcurves) describe the
same curve in different spaces, and they will not agree exactly.
MasterRepresentation says which one to believe. It matters most on a
seam curve, where the two p-curves are the two sides of a periodic
surface’s seam and picking the wrong one puts an edge on the far side of a
cylinder.
Structs§
- Offset
Curve2D - A borrowed view of an
IfcOffsetCurve2D. - Offset
Curve3D - A borrowed view of an
IfcOffsetCurve3D. - PCurve
- A borrowed view of an
IfcPcurve. - Surface
Curve - A borrowed view of an
IfcSurfaceCurveand its subtypes.
Enums§
- Preferred
Surface Curve Representation IfcPreferredSurfaceCurveRepresentation: which copy of the curve wins.- Surface
Curve Kind - Which
IfcSurfaceCurvesubtype an entity is.