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
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 2965).
Hierarchy
- TObject
- TPersistent
- TComponent
- TIfcPersistent
- TIfcRoot
- TIfcDefinitionSelect
- TIfcObjectDefinition
- TIfcObject
- TIfcProduct
Overview
Methods
| Public | constructor Create(AOwner: TComponent); override; |
| Public | destructor Destroy; override; |
| Public | function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
| Public | procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer; const Solid: Boolean = true); |
| Public | procedure AddLinesRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3); |
| Public | procedure AddBoxRepresentation( const Context: TIfcGeometricRepresentationContext; const Box: TBox3D); |
| Public | function TransformSupported: Boolean; |
| Public | procedure SetTransformRelativeTo(const OtherProduct: TIfcProduct); |
Properties
| Public | property Translation: TVector3 read GetTranslation write SetTranslation; |
| Published | property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
| Published | property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
| Published | property PositionedRelativeTo: TIfcRelPositionsList read FPositionedRelativeTo; |
| Published | property ReferencedInStructures: TIfcRelReferencedInSpatialStructure
read FReferencedInStructures write FReferencedInStructures; |
Description
Methods
| Public | constructor Create(AOwner: TComponent); override; |
|
This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 2983). | |
| Public | destructor Destroy; override; |
|
This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 2984). | |
| Public | function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
|
This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 2985). | |
| Public | 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
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3001). | |
| Public | procedure AddLinesRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3); |
|
Add lines representation to the given product. Each pair of points in Coordinates defines a line. Parameters
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3014). | |
| Public | 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. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3023). | |
| Public | function TransformSupported: Boolean; |
|
Does ObjectPlacement express a 3D transformation we can handle and Translation reliably gets and sets it. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3029). | |
| Public | procedure SetTransformRelativeTo(const OtherProduct: TIfcProduct); |
|
Make Translation of this product relative to a given different product. This sets TIfcObjectPlacement.PlacementRelTo underneath. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3070). | |
Properties
| Public | 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. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3065). | |
| Published | property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
|
Object coordinate system and placement of the product in space. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3073). | |
| Published | property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
|
Representations of the product. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3076). | |
| Published | property PositionedRelativeTo: TIfcRelPositionsList read FPositionedRelativeTo; |
|
TODO // property ReferencedBy: TIfcRelAssignsToProductList read FReferencedBy; Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3080). | |
| Published | property ReferencedInStructures: TIfcRelReferencedInSpatialStructure
read FReferencedInStructures write FReferencedInStructures; |
|
This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3082). | |
Generated by PasDoc 0.17.0.snapshot.