Hide menu
Loading...
Searching...
No Matches
RadialDimension

Describes radial dimensions of arcs and circles.

centerPoint is the center of the circle or arc described by the dimension. chordPoint lies on the measured circle or arc. dimensionEndPoint defines the length of the leader of this dimension.

Extends

Constructors

Constructor

new RadialDimension(centerPoint?, chordPoint?, dimensionEndPoint?, measurementValue?): RadialDimension

Creates a radial dimension.

The provided points are copied.

If measurementValue is provided, it is assigned to the dimension.

Parameters

centerPoint?

Point2d = ...

Center of the circle or arc described by the dimension.

chordPoint?

Point2d = ...

Chord point of the radial dimension. It lies on the measured circle or arc.

dimensionEndPoint?

Point2d = ...

End of the dimension line, defining the length of the leader of this dimension.

measurementValue?

number

Actual measurement value.

Returns

RadialDimension

Overrides

Dimension.constructor

Properties

arrowheadPlacement

arrowheadPlacement: ArrowheadPlacementType = ArrowheadPlacementType.INTERNAL

Arrowhead placement.

The default value is ArrowheadPlacementType.INTERNAL.

Inherited from

AngularDimension.arrowheadPlacement


firstArrowType

firstArrowType: ArrowType = ArrowType.CLOSED_FILLED

First arrow type.

The default value is ArrowType.CLOSED_FILLED.

Inherited from

AngularDimension.firstArrowType


isStartingFromCenter

isStartingFromCenter: boolean = false

Indicates whether the dimension line starts from the center of the measured entity.


isTextAlignedHorizontally

isTextAlignedHorizontally: boolean = false

Indicates whether the measurement text is aligned horizontally.

Inherited from

AngularDimension.isTextAlignedHorizontally


measurementValue

measurementValue: number = 0

Actual measurement value.

Inherited from

Dimension.measurementValue


secondArrowType

secondArrowType: ArrowType = ArrowType.CLOSED_FILLED

Second arrow type.

The default value is ArrowType.CLOSED_FILLED.

Inherited from

AngularDimension.secondArrowType


text

text: Text

Dimension text.

Inherited from

AngularDimension.text

Accessors

centerPoint

Get Signature

get centerPoint(): Point2d

Center of the circle or arc described by the dimension.

Returns

Point2d

Set Signature

set centerPoint(point): void

Sets the center of the circle or arc described by the dimension.

The coordinates are copied from the provided point.

Parameters

point

Point2d

Center point.

Returns

void


chordPoint

Get Signature

get chordPoint(): Point2d

Chord point of the radial dimension.

Returns

Point2d

Set Signature

set chordPoint(point): void

Sets the chord point of the radial dimension.

The coordinates are copied from the provided point.

Parameters

point

Point2d

Chord point.

Returns

void


dimensionEndPoint

Get Signature

get dimensionEndPoint(): Point2d

End of the dimension line.

Returns

Point2d

Set Signature

set dimensionEndPoint(point): void

Sets the end of the dimension line.

The coordinates are copied from the provided point.

Parameters

point

Point2d

Dimension end point.

Returns

void


id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

Dimension.id


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

Dimension.uuid

Methods

accept()

accept(visitor): void

Accepts an element visitor.

Parameters

visitor

ElementVisitor

Element visitor to accept.

Returns

void

Overrides

Dimension.accept