Class TIfcPolygonalFaceSet

Unit

Declaration

type TIfcPolygonalFaceSet = class(TIfcTessellatedFaceSet)

Description

Tessellated face set with all faces being bound by polygons. This is what is most commonly referred to as "a mesh" in 3D.

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

Hierarchy

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; override;

Properties

Published property Closed: Boolean read FClosed write FClosed default false;
Published property Faces: TIfcIndexedPolygonalFaceList read FFaces;
Published property PnIndex: TIntegerList read FPnIndex;

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.

Public constructor Create(AOwner: TComponent); override;

This item has no description.

Public destructor Destroy; override;

This item has no description.

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

This item has no description. Showing description inherited from TIfcRepresentationItem.BuildNode.

Build a node to display this using Castle Game Engine. Returns Nil if not possible / not implemented.

Properties

Published property Closed: Boolean read FClosed write FClosed default false;

Indication whether the face set is a closed shell (TRUE) or an open shell (FALSE).

IFC spec says: If omitted no such information can be asserted. For our implementation, "no such information can be asserted" means it shall be treated as an open shell, so we don't introduce a 3rd state.

Published property Faces: TIfcIndexedPolygonalFaceList read FFaces;

List of polygonal faces.

Published property PnIndex: TIntegerList read FPnIndex;

The list of integers defining the locations in the IfcCartesianPointList3D to obtain the point coordinates for the indices at the indexed polygonal faces. If the PnIndex is not provided the indices at the indexed polygonal faces point directly into the IfcCartesianPointList3D.


Generated by PasDoc 0.16.0-snapshot.