Hide menu
Loading...
Searching...
No Matches
PiecewiseContour

Describes drawing elements composed connected 2D curves.

Extends

Constructors

Constructor

new PiecewiseContour(): PiecewiseContour

Returns

PiecewiseContour

Inherited from

DrawingGeometry.constructor

Properties

triangulation

triangulation: Polyline2dSet | null = null

Polygonal representation of piecewise contour.

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

DrawingGeometry.id


isClosed

Get Signature

get isClosed(): boolean

Return true if the piecewise contour is closed.

Returns

boolean


uuid

Get Signature

get uuid(): `${string}-${string}-${string}-${string}-${string}` | null

Returns uuid of the drawing element. null if the drawing element has no assigned uuid (by default).

Returns

`${string}-${string}-${string}-${string}-${string}` | null

Set Signature

set uuid(uuid): void

Sets uuid of the drawing element.

Parameters

uuid

Uuid of the drawing element.

`${string}-${string}-${string}-${string}-${string}` | null

Returns

void

Inherited from

DrawingGeometry.uuid

Methods

accept()

accept(visitor): void

Accepts a drawing element visitor.

Parameters

visitor

ElementVisitor

Accepted drawing element visitor.

Returns

void

Overrides

DrawingGeometry.accept