Class TIfcProductRepresentation

Unit

Declaration

type TIfcProductRepresentation = class abstract(TIfcPersistent)

Description

Representation of a product, including its (geometric or topological) representation. A product can have zero, one or many geometric representations.

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

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5195).

Hierarchy

  • TObject
  • TPersistent
  • TComponent
  • TIfcPersistent
  • TIfcProductRepresentation

Overview

Methods

Protected function WantsGlobalId: Boolean; override;
Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const LitAppearance, UnlitAppearance: TAppearanceNode): TAbstractChildNode;

Properties

Published property Name: TIfcLabel read FName write FName;
Published property Description: TIfcText read FDescription write FDescription;
Published property Representations: TIfcRepresentationList read FRepresentations;

Description

Methods

Protected function WantsGlobalId: Boolean; override;

This item has no description. Showing description inherited from TIfcPersistent.WantsGlobalId.

If True, instances of this class will have GlobalId auto-assigned at saving, and they will be saved as part of the "data" list in IFC JSON files.

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 WantsGlobalId = True to save some files.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5201).

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5203).

Public destructor Destroy; override;

This item has no description.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5204).

Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const LitAppearance, UnlitAppearance: TAppearanceNode): TAbstractChildNode;

This item has no description.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5205).

Properties

Published property Name: TIfcLabel read FName write FName;

The word or group of words by which the product representation is known.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5210).

Published property Description: TIfcText read FDescription write FDescription;

The word or group of words that characterize the product representation.

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5213).

Published property Representations: TIfcRepresentationList read FRepresentations;

Contained list of representations (including shape representations).

Source: scene/load/ifc/castleifc_ifc_standard_types.inc (line 5216).


Generated by PasDoc 0.17.0.snapshot.