Skip to main content

Module elementary

Module elementary 

Source
Expand description

IfcElementarySurface subtypes: plane, cylinder, sphere, torus.

§What they share

Exactly one inherited attribute, Position, an IfcAxis2Placement3D. Unlike IfcConic::Position this is not a select: an elementary surface is always placed in 3D. The placement is not decoration – it defines the surface’s parameter space, so two cylinders with the same radius and different placements have different (u, v) meanings and their p-curves are not interchangeable.

§Parameterisation, and why it decides unit handling

Surfaceuv
IfcPlanelength along local Xlength along local Y
IfcCylindricalSurfaceangle about local Zlength along local Z
IfcSphericalSurfaceangle about local Zangle from equator
IfcToroidalSurfaceangle about local Zangle about the tube

A consumer that scales every IfcPcurve coordinate by the model’s length unit will corrupt every non-planar surface: on a cylinder in millimetres it multiplies an angle by 0.001. ParameterKind exists so that decision can be made from data rather than from a comment.

Structs§

CylindricalSurface
A borrowed view of an IfcCylindricalSurface.
Plane
A borrowed view of an IfcPlane.
SphericalSurface
A borrowed view of an IfcSphericalSurface.
ToroidalSurface
A borrowed view of an IfcToroidalSurface.

Enums§

ParameterKind
What a surface parameter means, and therefore how to convert it.