Class TIfcProduct
Unit
Declaration
type TIfcProduct = class abstract(TIfcObject)
Description
Any object that relates to a geometric or spatial context.
Spec: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcProduct.htm
Hierarchy
- TObject
- TPersistent
- TComponent
- TIfcPersistent
- TIfcRoot
- TIfcDefinitionSelect
- TIfcObjectDefinition
- TIfcObject
- TIfcProduct
Overview
Methods
function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
|
procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer); |
|
procedure AddBoxRepresentation( const Context: TIfcGeometricRepresentationContext; const Box: TBox3D); |
|
function PlacementRelativeToParent: Boolean; |
Properties
property RelativePlacement: TVector3 read GetRelativePlacement write SetRelativePlacement; |
|
property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
|
property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
Description
Methods
function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
|
This item has no description. |
procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer); |
|
Add mesh representation to the given product. The mesh is expressed as a set of 3D points (Coordinates) and indexes to these coordinates (Indexes) that determine polygons. The indexes are 0-based and can be separated by -1 to delimit polygons. See examples/ifc/ for an example usage of this routine to define walls and floors. Parameters
|
procedure AddBoxRepresentation( const Context: TIfcGeometricRepresentationContext; const Box: TBox3D); |
|
Add box representation to the given product. Right now, the Box is transformed into a proper mesh representation, so this is just equivalent to calling AddMeshRepresentation with the 8 box corners and proper indexes to define 6 box sides. |
function PlacementRelativeToParent: Boolean; |
|
Does ObjectPlacement express a simple translation relative to the parent. This implies that using RelativePlacement to operate indirectly on ObjectPlacement makes sense, i.e. you do not loose information this way. |
Properties
property RelativePlacement: TVector3 read GetRelativePlacement write SetRelativePlacement; |
|
Position of this product relative to parent. Check PlacementRelativeToParent before using this property.
|
property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
|
Object coordinate system and placement of the product in space. |
property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
|
Representations of the product. |
Generated by PasDoc 0.16.0-snapshot.