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.
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.
Point2d = ...
Center of the circle or arc described by the dimension.
Point2d = ...
Chord point of the radial dimension. It lies on the measured circle or arc.
Point2d = ...
End of the dimension line, defining the length of the leader of this dimension.
number
Actual measurement value.
RadialDimension
arrowheadPlacement:
ArrowheadPlacementType=ArrowheadPlacementType.INTERNAL
Arrowhead placement.
The default value is ArrowheadPlacementType.INTERNAL.
AngularDimension.arrowheadPlacement
firstArrowType:
ArrowType=ArrowType.CLOSED_FILLED
First arrow type.
The default value is ArrowType.CLOSED_FILLED.
AngularDimension.firstArrowType
isStartingFromCenter:
boolean=false
Indicates whether the dimension line starts from the center of the measured entity.
isTextAlignedHorizontally:
boolean=false
Indicates whether the measurement text is aligned horizontally.
AngularDimension.isTextAlignedHorizontally
measurementValue:
number=0
Actual measurement value.
secondArrowType:
ArrowType=ArrowType.CLOSED_FILLED
Second arrow type.
The default value is ArrowType.CLOSED_FILLED.
AngularDimension.secondArrowType
text:
Text
Dimension text.
get centerPoint():
Point2d
Center of the circle or arc described by the dimension.
set centerPoint(
point):void
Sets the center of the circle or arc described by the dimension.
The coordinates are copied from the provided point.
Center point.
void
get chordPoint():
Point2d
Chord point of the radial dimension.
set chordPoint(
point):void
Sets the chord point of the radial dimension.
The coordinates are copied from the provided point.
Chord point.
void
get dimensionEndPoint():
Point2d
End of the dimension line.
set dimensionEndPoint(
point):void
Sets the end of the dimension line.
The coordinates are copied from the provided point.
Dimension end point.
void
get id():
bigint
Returns the unique identifier of the object.
bigint
get uuid():
`${string}-${string}-${string}-${string}-${string}`|null
UUID of the drawing element.
The value is null if no UUID is assigned.
`${string}-${string}-${string}-${string}-${string}` | null
set uuid(
uuid):void
Sets the UUID of the drawing element.
`${string}-${string}-${string}-${string}-${string}` | null
UUID to assign to the drawing element.
void
accept(
visitor):void
Accepts an element visitor.
Element visitor to accept.
void