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

Describes drawing elements composed of connected 2D curves.

The connected curves are not exposed directly. The available geometry is represented by triangulation.

Extends

Constructors

Constructor

new PiecewiseContour(): PiecewiseContour

Returns

PiecewiseContour

Inherited from

DrawingGeometry.constructor

Properties

triangulation

triangulation: Polyline2dSet | null = null

Polygonal representation of the piecewise contour.

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

DrawingGeometry.id


isClosed

Get Signature

get isClosed(): boolean

Returns true if the piecewise contour is closed.

Returns

boolean


uuid

Get Signature

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

UUID of the drawing element.

The value is null if no UUID is assigned.

Returns

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

Set Signature

set uuid(uuid): void

Sets the UUID of the drawing element.

Parameters

uuid

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

UUID to assign to the drawing element.

Returns

void

Inherited from

DrawingGeometry.uuid

Methods

accept()

accept(visitor): void

Accepts an element visitor.

Parameters

visitor

ElementVisitor

Element visitor to accept.

Returns

void

Overrides

DrawingGeometry.accept