Defines a graphical PMI representation.
new GraphicalRepresentation(
component?):GraphicalRepresentation
Creates a graphical representation with one optional component.
Graphical component.
GraphicalRepresentation
readonlycomponents:Set<GraphicalComponent>
Graphical components of this representation.
plane:
Plane
Plane of this representation.
get id():
bigint
Returns the unique identifier of the object.
bigint
accept(
visitor):void
Accepts a graphical component visitor.
Visitor to accept.
void
addComponent(
component):void
Adds a graphical component.
Graphical component.
void
Use GraphicalRepresentation.components and components.add instead.
isEmpty():
boolean
Returns whether this representation has no components.
boolean
Use GraphicalRepresentation.components and components.size === 0 instead.
numberOfComponents():
number
Returns the number of graphical components.
number
Use GraphicalRepresentation.components and components.size instead.