Describes an angular dimension for an angle given by three points.
anglePoint specifies the tip of the measured angle. firstReferencePoint and secondReferencePoint lie on the extension lines. dimensionArcPoint lies on the dimension line.
new AngularDimension(
anglePoint?,firstReferencePoint?,secondReferencePoint?,dimensionArcPoint?,measurementValue?):AngularDimension
Creates an angular dimension.
The provided points are copied.
Point2d = ...
Tip of the measured angle.
Point2d = ...
First extension line reference point.
Point2d = ...
Second extension line reference point.
Point2d = ...
Point specifying the position of the dimension arc.
number
Actual measurement value. If omitted, the inherited default value is kept.
AngularDimension
arrowheadPlacement:
ArrowheadPlacementType=ArrowheadPlacementType.INTERNAL
Arrowhead placement.
The default value is ArrowheadPlacementType.INTERNAL.
firstArrowType:
ArrowType=ArrowType.CLOSED_FILLED
First arrow type.
The default value is ArrowType.CLOSED_FILLED.
isTextAlignedHorizontally:
boolean=false
Indicates whether the measurement text is aligned horizontally.
Dimension.isTextAlignedHorizontally
measurementValue:
number=0
Actual measurement value.
secondArrowType:
ArrowType=ArrowType.CLOSED_FILLED
Second arrow type.
The default value is ArrowType.CLOSED_FILLED.
text:
Text
Dimension text.
get anglePoint():
Point2d
Tip of the measured angle.
set anglePoint(
point):void
Sets the tip of the measured angle.
The coordinates are copied from the provided point.
Angle point.
void
get dimensionArcPoint():
Point2d
Point specifying the position of the dimension arc.
set dimensionArcPoint(
point):void
Sets the point specifying the position of the dimension arc.
The coordinates are copied from the provided point.
Dimension arc point.
void
get firstReferencePoint():
Point2d
First extension line reference point.
set firstReferencePoint(
point):void
Sets the first extension line reference point.
The coordinates are copied from the provided point.
First reference point.
void
get id():
bigint
Returns the unique identifier of the object.
bigint
get secondReferencePoint():
Point2d
Second extension line reference point.
set secondReferencePoint(
point):void
Sets the second extension line reference point.
The coordinates are copied from the provided point.
Second reference point.
void
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