Class TIfcRepresentationItem

Unit

Declaration

type TIfcRepresentationItem = class(TIfcPersistent)

Description

Geometric or topological representation items, that can (but not need to) have presentation style information assigned.

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

Hierarchy

Overview

Methods

Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const Appearance: TAppearanceNode): TAbstractChildNode; virtual;

Properties

Published property LayerAssignment: TIfcPresentationLayerAssignment read FLayerAssignment write FLayerAssignment;
Published property StyledByItem: TIfcStyledItem read FStyledByItem write FStyledByItem;

Description

Methods

Public function BuildNode(const Mapping: TCastleIfcMapping; const ParentProduct: TIfcProduct; const Appearance: TAppearanceNode): TAbstractChildNode; virtual;

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

Parameters
ParentProduct
Parent TIfcProduct, to be used with TCastleIfcMapping.AssociateProductShape call.

It can be Nil (and TCastleIfcMapping.AssociateProductShape is already prepared to handle it too) if not particular TIfcProduct is parent of this, which (right now) only happens for some internal usage in UpdateCrossSection for throw-away shape instances.

Appearance
Appearance that should be used for all shapes created here.

Properties

Published property LayerAssignment: TIfcPresentationLayerAssignment read FLayerAssignment write FLayerAssignment;

Assignment of the representation item to a single or multiple layer(s). Nil if none.

Published property StyledByItem: TIfcStyledItem read FStyledByItem write FStyledByItem;

Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve. Nil if none.


Generated by PasDoc 0.16.0-snapshot.