Hide menu
Loading...
Searching...
No Matches
Shape

Describes base class for topological objects.

Extends

Extended by

Constructors

new Shape()

new Shape(internalType): Shape

Parameters

internalType

ShapeType = ShapeType.UNDEFINED

Type of the topological object.

Returns

Shape

Overrides

BaseObject.constructor

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

BaseObject.id


name

Get Signature

get name(): null | string

Returns name of the Shape. null if the element has no name (by default).

Returns

null | string

Set Signature

set name(name): void

Sets name of the Shape.

Parameters

name

Name of the Shape.

null | string

Returns

void


type

Get Signature

get type(): ShapeType

Type of the topological object.

Returns

ShapeType