Class TIfcSpatialElement

Unit

Declaration

type TIfcSpatialElement = class abstract(TIfcProduct)

Description

Elements that might be used to define a spatial structure.

Spec: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/lexical/IfcSpatialElement.htm

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override;
Published procedure AddContainedElement(const Element: TIfcElement);
Published procedure GetContainedElements(const List: TIfcElementList);

Properties

Published property LongName: TIfcLabel read FLongName write FLongName;
Published property ContainsElements: TIfcRelContainedInSpatialStructureList read FContainsElements;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

TODO: rest of fields

Public destructor Destroy; override;

This item has no description.

Public function BuildNode(const Mapping: TCastleIfcMapping): TTransformNode; override;

This item has no description.

Published procedure AddContainedElement(const Element: TIfcElement);

Add given Element (TIfcElement, descendant of TIfcProduct) to the ContainsElements list of this spatial element.

This adds an intermediate TIfcRelContainedInSpatialStructure instance, and expands the ContainsElements list of this spatial element, and expands the TIfcElement.ContainedInStructure of the given Element.

It may reuse existing TIfcRelContainedInSpatialStructure instance (BonsaiBIM also does this, using one TIfcRelContainedInSpatialStructure to refer to multiple children).

This should be used to add smaller elements, like TIfcWall, TIfcWindow into larger spatial elements, like TIfcBuildingStorey, TIfcSpace.

Published procedure GetContainedElements(const List: TIfcElementList);

Add all contained elemenents to the List. This enumerates relations inside ContainsElements and the elements they refer to.

This is not recursive, it does not go into elements that are children of other elements.

Properties

Published property LongName: TIfcLabel read FLongName write FLongName;

This item has no description.

Published property ContainsElements: TIfcRelContainedInSpatialStructureList read FContainsElements;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.