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

Describes a radial dimension measures of arcs and circles.

Extends

Constructors

Constructor

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

Parameters

centerPoint

Point2d = ...

Center of the circle arc, which the dimension describes.

chordPoint

Point2d = ...

Chord point of the radial dimension. Lies on the said circle arc.

dimensionEndPoint

Point2d = ...

End of the dimension line. Defines 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.

Inherited from

AngularDimension.arrowheadPlacement


centerPoint

centerPoint: Point2d

Center of the circle arc, which the dimension describes.


chordPoint

chordPoint: Point2d

Chord point of the radial dimension. Lies on the said circle arc.


dimensionEndPoint

dimensionEndPoint: Point2d

End of the dimension line. Defines the length of the leader of this dimension.


firstArrowType

firstArrowType: ArrowType = ArrowType.CLOSED_FILLED

First arrow type.

Inherited from

AngularDimension.firstArrowType


isStartingFromCenter

isStartingFromCenter: boolean = false

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


isTextAlignedHorizontally

isTextAlignedHorizontally: boolean = false

Indicates whether the measurement text is align 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.

Inherited from

AngularDimension.secondArrowType


text

text: Text

Dimension text.

Inherited from

AngularDimension.text

Accessors

id

Get Signature

get id(): bigint

Returns object id.

Returns

bigint

Inherited from

Dimension.id


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

Dimension.uuid

Methods

accept()

accept(visitor): void

Accepts a drawing element visitor.

Parameters

visitor

ElementVisitor

Accepted drawing element visitor.

Returns

void

Overrides

Dimension.accept