Class TIfcTank
Unit
Declaration
type TIfcTank = class(TIfcFlowStorageDevice)
Description
IFC class IfcTank.
Source: scene/load/ifc/castleifc_ifc_standard_types_autogenerated.inc (line 2231).
Hierarchy
- TObject
- TPersistent
- TComponent
- TIfcPersistent
- TIfcRoot
- TIfcDefinitionSelect
- TIfcObjectDefinition
- TIfcObject
- TIfcProduct
- TIfcElement
- TIfcDistributionElement
- TIfcDistributionFlowElement
- TIfcFlowStorageDevice
- TIfcTank
Overview
Methods
| Protected | class function IfcClassName: String; virtual; |
| Protected | function WantsGlobalId: Boolean; override; |
| Published | procedure AddIsDecomposedBy(const ChildObject: TIfcObjectDefinition); |
| Public | procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer; const Solid: Boolean = true); |
| Public | procedure AddPolylineRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3); |
| 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); |
| Public | constructor Create(AOwner: TComponent); override; |
| Public | destructor Destroy; override; |
| Public | function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
| Public | procedure AddOpening(const Opening: TIfcFeatureElementSubtraction); |
| Public | procedure AddConnected(const Connected: TIfcElement); |
Properties
| Published | property GlobalId: String read FGlobalId write FGlobalId; |
| Published | property OwnerHistory: TIfcOwnerHistory read FOwnerHistory write FOwnerHistory; |
| Published | property Name: TIfcLabel read FName write FName; |
| Published | property Description: TIfcText read FDescription write FDescription; |
| Published | property HasContext: TIfcRelDeclares read FHasContext write FHasContext; |
| Published | property IsDecomposedBy: TIfcRelAggregatesList read FIsDecomposedBy; |
| Published | property Decomposes: TIfcRelAggregatesList read FDecomposes; |
| Published | property HasAssociations: TIfcRelAssociatesList read FHasAssociations; |
| Published | property ObjectType: TIfcLabel read FObjectType write FObjectType; |
| Published | property IsDeclaredBy: TIfcRelDefinesByObjectList read FIsDeclaredBy; |
| Published | property Declares: TIfcRelDefinesByObjectList read FDeclares; |
| Published | property IsTypedBy: TIfcRelDefinesByTypeList read FIsTypedBy; |
| Published | property IsDefinedBy: TIfcRelDefinesByPropertiesList read FIsDefinedBy; |
| 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; |
| Published | property Tag: TIfcIdentifier read FTag write FTag; |
| Published | property FillsVoids: TIfcRelFillsElementList read FFillsVoids write FFillsVoids; |
| Published | property ConnectedTo: TIfcRelConnectsElementsList read FConnectedTo; |
| Published | property IsInterferedByElements: TIfcRelInterferesElementsList read FIsInterferedByElements; |
| Published | property InterferesElements: TIfcRelInterferesElementsList read FInterferesElements; |
| Published | property HasProjections: TIfcRelProjectsElementList read FHasProjections; |
| Published | property HasOpenings: TIfcRelVoidsElementList read FHasOpenings; |
| Published | property IsConnectionRealization: TIfcRelConnectsWithRealizingElementsList read FIsConnectionRealization; |
| Published | property ProvidesBoundaries: TIfcRelSpaceBoundaryList read FProvidesBoundaries; |
| Published | property ConnectedFrom: TIfcRelConnectsElementsList read FConnectedFrom; |
| Published | property ContainedInStructure: TIfcRelContainedInSpatialStructureList read FContainedInStructure; |
| Published | property HasCoverings: TIfcRelCoversBldgElementsList read FHasCoverings; |
| Published | property HasSurfaceFeatures: TIfcRelAdheresToElementList read FHasSurfaceFeatures; |
Description
Methods
| Protected | class function IfcClassName: String; virtual; |
|
This item is declared in ancestor TIfcPersistent. Name for the IFC standard, used in IFC files. By default, this is just ClassName with prefix 'T' removed. | |
| Protected | function WantsGlobalId: Boolean; override; |
|
This item is declared in ancestor TIfcRoot. This item has no description. Showing description inherited from TIfcPersistent.WantsGlobalId.
If Strictly following the spec, this should be only defined for TIfcRoot, because only IfcRoot has GlobalId. In reality, we need GlobalId at TIfcPersistent to load some files, and we sometimes need Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1656). | |
| Published | procedure AddIsDecomposedBy(const ChildObject: TIfcObjectDefinition); |
|
This item is declared in ancestor TIfcObjectDefinition. Add given TIfcObjectDefinition instance to the IsDecomposedBy list of this object. Adds also new intermediate TIfcRelAggregates instance. This shall be used to add top-level IfcSpatialStructureElement instances to the project, e.g.:
See also
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1873). | |
| Public | procedure AddMeshRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3; const Indexes: array of Integer; const Solid: Boolean = true); |
|
This item is declared in ancestor TIfcProduct. 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 AddPolylineRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3); |
|
This item is declared in ancestor TIfcProduct. Add representation as a polyline to the given product. The sequence of points in Coordinates defines a polyline, so it starts from the first point and goes through each subsequent point in order. Parameters
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3015). | |
| Public | procedure AddLinesRepresentation( const Context: TIfcGeometricRepresentationContext; const Coordinates: array of TVector3); |
|
This item is declared in ancestor TIfcProduct. Add representation as a set of line segments to the given product. Each pair of points in Coordinates defines a line segment. Parameters
Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3026). | |
| Public | procedure AddBoxRepresentation( const Context: TIfcGeometricRepresentationContext; const Box: TBox3D); |
|
This item is declared in ancestor TIfcProduct. 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 3035). | |
| Public | function TransformSupported: Boolean; |
|
This item is declared in ancestor TIfcProduct. 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 3041). | |
| Public | procedure SetTransformRelativeTo(const OtherProduct: TIfcProduct); |
|
This item is declared in ancestor 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 3082). | |
| Public | constructor Create(AOwner: TComponent); override; |
|
This item is declared in ancestor TIfcElement. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3690). | |
| Public | destructor Destroy; override; |
|
This item is declared in ancestor TIfcElement. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3691). | |
| Public | function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override; |
|
This item is declared in ancestor TIfcElement. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3692). | |
| Public | procedure AddOpening(const Opening: TIfcFeatureElementSubtraction); |
|
This item is declared in ancestor TIfcElement. Add an opening that creates a hole (or just niche) in this element. You can add any TIfcFeatureElementSubtraction, but typically you will add TIfcOpeningElement. This automatically creates TIfcRelVoidsElement relationship between this element and the opening. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3699). | |
| Public | procedure AddConnected(const Connected: TIfcElement); |
|
This item is declared in ancestor TIfcElement. Add a connected element, e.g. window should be connected to the wall. This adds TIfcRelConnectsElements relationship and extends the ConnectedTo, ConnectedFrom lists. Spec of https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcWall.htm says: " Walls with openings that have already been modeled within the enclosing geometry may use the relationship IfcRelConnectsElements to associate the wall with embedded elements such as doors and windows." The connected element is not rendered just because it is connected. It should still be also added using e.g. TIfcSpatialElement.AddContainedElement to be rendered. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3713). | |
Properties
| Published | property GlobalId: String read FGlobalId write FGlobalId; |
|
This item is declared in ancestor TIfcPersistent. Globally unique identifier for the object instance. Note: Not declared as TGUID, because TGUID cannot be published, but also we don't really need it: for our purposes, this identifier is just an arbitrary string. Note: IFC 4.3 specification puts this only at IfcRoot, not at every IFC class. But testcase https://github.com/buildingsmart-community/Community-Sample-Test-Files/blob/main/IFC%204.0.2.1%20(IFC%204)/ISO%20Spec%20archive/wall-with-opening-and-window.json (from IFC 4.0) shows this can be present at any IFC class, in particular TIfcGeometricRepresentationContext. In fact, TIfcGeometricRepresentationContext needs to have IFC JSON documentation says this, which seems to (unfortunately it is not unambiguous enough...) allow this at any IFC class: "Whereas the | |
| Published | property OwnerHistory: TIfcOwnerHistory read FOwnerHistory write FOwnerHistory; |
|
This item is declared in ancestor TIfcRoot. Information about the current ownership of that object. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1659). | |
| Published | property Name: TIfcLabel read FName write FName; |
|
This item is declared in ancestor TIfcRoot. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1661). | |
| Published | property Description: TIfcText read FDescription write FDescription; |
|
This item is declared in ancestor TIfcRoot. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1662). | |
| Published | property HasContext: TIfcRelDeclares read FHasContext write FHasContext; |
|
This item is declared in ancestor TIfcObjectDefinition. References to the context providing context information such as project unit or representation context. It should only be asserted for the uppermost non-spatial object. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1847). | |
| Published | property IsDecomposedBy: TIfcRelAggregatesList read FIsDecomposedBy; |
|
This item is declared in ancestor TIfcObjectDefinition. References to the decomposition relationship being an aggregation. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1850). | |
| Published | property Decomposes: TIfcRelAggregatesList read FDecomposes; |
|
This item is declared in ancestor TIfcObjectDefinition. References to the decomposition relationship being an aggregation. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1853). | |
| Published | property HasAssociations: TIfcRelAssociatesList read FHasAssociations; |
|
This item is declared in ancestor TIfcObjectDefinition. Reference to the relationship objects, that associates external references or other resource definitions to the object. Examples are the association to library, documentation or classification. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1858). | |
| Published | property ObjectType: TIfcLabel read FObjectType write FObjectType; |
|
This item is declared in ancestor TIfcObject. The type denotes a particular type that indicates the object further. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1920). | |
| Published | property IsDeclaredBy: TIfcRelDefinesByObjectList read FIsDeclaredBy; |
|
This item is declared in ancestor TIfcObject. Link to the relationship object pointing to the declaring object that provides the object definitions for this object occurrence. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1924). | |
| Published | property Declares: TIfcRelDefinesByObjectList read FDeclares; |
|
This item is declared in ancestor TIfcObject. Link to the relationship object pointing to the reflected object(s) that receives the object definitions. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1928). | |
| Published | property IsTypedBy: TIfcRelDefinesByTypeList read FIsTypedBy; |
|
This item is declared in ancestor TIfcObject. Set of relationships to the object type that provides the type definitions for this object occurrence. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1932). | |
| Published | property IsDefinedBy: TIfcRelDefinesByPropertiesList read FIsDefinedBy; |
|
This item is declared in ancestor TIfcObject. Set of relationships to property set definitions attached to this object. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 1935). | |
| Public | property Translation: TVector3 read GetTranslation write SetTranslation; |
|
This item is declared in ancestor TIfcProduct. 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 3077). | |
| Published | property ObjectPlacement: TIfcObjectPlacement read FObjectPlacement write FObjectPlacement; |
|
This item is declared in ancestor TIfcProduct. Object coordinate system and placement of the product in space. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3085). | |
| Published | property Representation: TIfcProductRepresentation read FRepresentation write FRepresentation; |
|
This item is declared in ancestor TIfcProduct. Representations of the product. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3088). | |
| Published | property PositionedRelativeTo: TIfcRelPositionsList read FPositionedRelativeTo; |
|
This item is declared in ancestor TIfcProduct. TODO // property ReferencedBy: TIfcRelAssignsToProductList read FReferencedBy; Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3092). | |
| Published | property ReferencedInStructures: TIfcRelReferencedInSpatialStructure
read FReferencedInStructures write FReferencedInStructures; |
|
This item is declared in ancestor TIfcProduct. This item has no description. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3094). | |
| Published | property Tag: TIfcIdentifier read FTag write FTag; |
|
This item is declared in ancestor TIfcElement. The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. Note: This obscures TComponent.Tag property. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3718). | |
| Published | property FillsVoids: TIfcRelFillsElementList read FFillsVoids write FFillsVoids; |
|
This item is declared in ancestor TIfcElement. Reference to the IfcRelFillsElement relationship that puts the element as a filling into the opening created within another element. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3721). | |
| Published | property ConnectedTo: TIfcRelConnectsElementsList read FConnectedTo; |
|
This item is declared in ancestor TIfcElement. Reference to the element connection relationship. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3724). | |
| Published | property IsInterferedByElements: TIfcRelInterferesElementsList read FIsInterferedByElements; |
|
This item is declared in ancestor TIfcElement. Reference to the interference relationship to indicate the element that is interfered. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3727). | |
| Published | property InterferesElements: TIfcRelInterferesElementsList read FInterferesElements; |
|
This item is declared in ancestor TIfcElement. Reference to the interference relationship to indicate the element that interferes. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3730). | |
| Published | property HasProjections: TIfcRelProjectsElementList read FHasProjections; |
|
This item is declared in ancestor TIfcElement. Projection relationship that adds a feature (using a Boolean union) to the IfcBuiltElement. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3733). | |
| Published | property HasOpenings: TIfcRelVoidsElementList read FHasOpenings; |
|
This item is declared in ancestor TIfcElement. List of openings associated with this element. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3736). | |
| Published | property IsConnectionRealization: TIfcRelConnectsWithRealizingElementsList read FIsConnectionRealization; |
|
This item is declared in ancestor TIfcElement. Reference to the connection relationship with realizing element. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3739). | |
| Published | property ProvidesBoundaries: TIfcRelSpaceBoundaryList read FProvidesBoundaries; |
|
This item is declared in ancestor TIfcElement. Space boundaries by virtue of the relationship IfcRelSpaceBoundary. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3742). | |
| Published | property ConnectedFrom: TIfcRelConnectsElementsList read FConnectedFrom; |
|
This item is declared in ancestor TIfcElement. Element connection relationship. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3745). | |
| Published | property ContainedInStructure: TIfcRelContainedInSpatialStructureList read FContainedInStructure; |
|
This item is declared in ancestor TIfcElement. Containment relationship to the spatial structure element, to which the element is primarily associated. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3748). | |
| Published | property HasCoverings: TIfcRelCoversBldgElementsList read FHasCoverings; |
|
This item is declared in ancestor TIfcElement. { Reference to IfcCovering by virtue of the relationship IfcRelCoversBldgElements. } Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3751). | |
| Published | property HasSurfaceFeatures: TIfcRelAdheresToElementList read FHasSurfaceFeatures; |
|
This item is declared in ancestor TIfcElement. Reference to the IfcRelAdheresToElement relationship that adheres a IfcSurfaceFeature to an element. Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 3754). | |
Generated by PasDoc 0.17.0.snapshot.