Describes a diametric dimension for circles.
firstChordPoint and secondChordPoint refer to points on the drawing geometry that are being measured. dimensionEndPoint defines the length of the leader of this dimension.
new DiametricDimension(
firstChordPoint?,secondChordPoint?,dimensionEndPoint?,measurementValue?):DiametricDimension
Creates a diametric dimension.
The provided points are copied.
If measurementValue is provided, it is assigned to the dimension.
Point2d = ...
First chord point on the measured drawing geometry.
Point2d = ...
Second chord point on the measured drawing geometry.
Point2d = ...
End of the dimension line. Defines the length of the leader of this dimension.
number
Actual measurement value.
DiametricDimension
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 passes through 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.
RadialDimension.measurementValue
secondArrowType:
ArrowType=ArrowType.CLOSED_FILLED
Second arrow type.
The default value is ArrowType.CLOSED_FILLED.
AngularDimension.secondArrowType
text:
Text
Dimension text.
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 firstChordPoint():
Point2d
First chord point on the measured drawing geometry.
set firstChordPoint(
point):void
Sets the first chord point on the measured drawing geometry.
The coordinates are copied from the provided point.
First chord point.
void
get id():
bigint
Returns the unique identifier of the object.
bigint
get secondChordPoint():
Point2d
Second chord point on the measured drawing geometry.
set secondChordPoint(
point):void
Sets the second chord point on the measured drawing geometry.
The coordinates are copied from the provided point.
Second chord 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