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
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
![]() |
procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer; const Solid: Boolean = true); |
![]() |
procedure AddBoxRepresentation( const Context: TIfcGeometricRepresentationContext; const Box: TBox3D); |
![]() |
function TransformSupported: Boolean; |
![]() |
procedure SetTransformRelativeTo(const OtherProduct: TIfcProduct); |
Properties
![]() |
property Translation: TVector3 read GetTranslation write SetTranslation; |
![]() |
property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
![]() |
property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
![]() |
property PositionedRelativeTo: TIfcRelPositionsList read FPositionedRelativeTo; |
![]() |
property ReferencedInStructures: TIfcRelReferencedInSpatialStructure
read FReferencedInStructures write FReferencedInStructures; |
Description
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
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; const Solid: Boolean = true); |
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 TransformSupported: Boolean; |
Does ObjectPlacement express a 3D transformation we can handle and Translation reliably gets and sets it. |
![]() |
procedure SetTransformRelativeTo(const OtherProduct: TIfcProduct); |
Make Translation of this product relative to a given different product. This sets TIfcObjectPlacement.PlacementRelTo underneath. |
Properties
![]() |
property Translation: TVector3 read GetTranslation write SetTranslation; |
Translation of this product.
When TCastleIfcMapping.OptimizeAssumingOneMapping then this is optimized. Changing this property immediately updates the relevant X3D graph, without the need to call TCastleIfcMapping.Update. This makes changing translation really instant, no need to call TCastleIfcMapping.Update so it doesn't analyze what changed. |
![]() |
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. |
![]() |
property PositionedRelativeTo: TIfcRelPositionsList read FPositionedRelativeTo; |
TODO // property ReferencedBy: TIfcRelAssignsToProductList read FReferencedBy; |
![]() |
property ReferencedInStructures: TIfcRelReferencedInSpatialStructure
read FReferencedInStructures write FReferencedInStructures; |
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.