Expand description
IfcGeometryResource: the primitives everything else is built from.
Points, directions, placements and transformation operators are the leaves of every geometry graph in an IFC file – a swept solid, a B-rep face and a grid axis all bottom out here. They are grouped in one module because they share the two traps that make IFC geometry subtle:
- Dimension is per-instance, not per-type:
IfcCartesianPointandIfcDirectionare 2D or 3D depending on how many values the record holds, so nothing may pad silently. - Inherited attributes come first in a STEP record, so a subtype’s own
attributes start after its supertype’s.
Locationis slot 0 of everyIfcPlacementsubtype for that reason.
Curves, surfaces and solids build on these and live in sibling modules.
Re-exports§
pub use direction::Direction;pub use direction::Vector;pub use mapped::MappedInstance;pub use mapped::MappedItem;pub use mapped::MappingWalker;pub use mapped::RepresentationMap;pub use operator::CartesianTransformationOperator;pub use operator::CartesianTransformationOperator2D;pub use operator::CartesianTransformationOperator2DnonUniform;pub use operator::CartesianTransformationOperator3D;pub use operator::CartesianTransformationOperator3DnonUniform;pub use placement::axis_placement_transform;pub use placement::Axis1Placement;pub use placement::Axis2Placement;pub use placement::Axis2Placement2D;pub use placement::Axis2Placement3D;pub use placement::Placement;pub use point::cartesian_point_3d;pub use point::CartesianPoint;pub use point::CartesianPointList;pub use point::CartesianPointList2D;pub use point::CartesianPointList3D;pub use point::PointOnCurve;pub use point::PointOnSurface;
Modules§
- axes
IfcBaseAxis: deriving an orthonormal frame from optional axis hints.- direction
IfcDirectionandIfcVector: orientation, with and without magnitude.- functions
- EXPRESS function coverage for the three IFC geometry resources.
- mapped
IfcMappedItemandIfcRepresentationMap: geometry reuse by reference.- operator
IfcCartesianTransformationOperator: the mapped-item transform.- placement
IfcPlacementand its three subtypes: where a local coordinate system is.- point
IfcPointsubtypes and the IFC4 coordinate lists.- resolve
- Resolve a raw reference into a type-checked resource view.
- topology
IfcTopologyResource: the faceted-B-rep entity family.