Hide menu
Loading...
Searching...
No Matches
DiametricDimension

Describes a diametric dimension measures of circles.

Extends

Constructors

Constructor

new DiametricDimension(firstChordPoint, secondChordPoint, dimensionEndPoint, measurementValue?): DiametricDimension

Parameters

firstChordPoint

Point2d = ...

First chord point on the drawing geometry that are being measured.

secondChordPoint

Point2d = ...

Second chord point on the drawing geometry that are being measured.

dimensionEndPoint

Point2d = ...

Dimension end point. Defines the end point of dimension line.

measurementValue?

number

Actual measurement value.

Returns

DiametricDimension

Overrides

Dimension.constructor

Properties

arrowheadPlacement

arrowheadPlacement: ArrowheadPlacementType = ArrowheadPlacementType.INTERNAL

Arrowhead placement.

Inherited from

AngularDimension.arrowheadPlacement


dimensionEndPoint

dimensionEndPoint: Point2d

Dimension end point. Defines the end point of dimension line.


firstArrowType

firstArrowType: ArrowType = ArrowType.CLOSED_FILLED

First arrow type.

Inherited from

AngularDimension.firstArrowType


firstChordPoint

firstChordPoint: Point2d

First chord point on the drawing geometry that are being measured.


isStartingFromCenter

isStartingFromCenter: boolean = false

Indicates whether the dimension line passes through the center of 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

RadialDimension.measurementValue


secondArrowType

secondArrowType: ArrowType = ArrowType.CLOSED_FILLED

Second arrow type.

Inherited from

AngularDimension.secondArrowType


secondChordPoint

secondChordPoint: Point2d

Second chord point on the drawing geometry that are being measured.


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