Describes a dimension that shows the straight-line distance between two points, ready to draw.
The dimension line joins the two points shifted by direction, an extension line runs from
each point past it, and the label sits at its middle. Pass the result to draw.drawAnyAsync to
add it to the scene.
The two points, the offset of the dimension line, how the label reads and the style
A linear dimension entity to draw
Describes a dimension showing the angle between two directions from a center point, ready to draw.
An arc of radius spans the smaller angle between them, with a line along each direction and
the label beyond the arc's middle. The value is in radians whatever radians says, so use
labelOverwrite to show degrees. Pass the result to draw.drawAnyAsync to draw it.
The center point, the two directions, the arc radius, how the label reads and the style
An angular dimension entity to draw
Describes a dimension showing the radius of a circle or arc from its center, ready to draw.
A line runs from centerPoint to radiusPoint, arrowed at the rim, with the label beyond it
prefixed with R, or with the diameter sign and twice the value when showDiameter is set. Pass
the result to draw.drawAnyAsync to draw it.
The center, a point on the rim, how the label reads, the center mark and the style
A radial dimension entity to draw
Describes a dimension showing a circle's diameter as a line across its full width, ready to draw.
A line of length diameter runs through centerPoint along direction, arrowed at both ends,
with the label beside the center after a diameter sign. The value shown is diameter as given,
not measured from any geometry. Pass the result to draw.drawAnyAsync to draw it.
The center, direction and length of the diameter line, how the label reads and the style
A diametral dimension entity to draw
Describes a dimension showing a point's distance from a reference point along one axis, ready to draw.
The label shows the measured point's coordinate minus the reference point's, prefixed with the
axis letter, and a leader line joins it to the measured point. Pass the result to
draw.drawAnyAsync to add it to the scene.
The measured and reference points, the axis, how the label reads and the style
An ordinate dimension entity to draw
Builds the look of a dimension: the colors and sizes of its lines, arrowheads and label.
The inputs come back unchanged, ready to pass as style to any dimension of this class.
Colors, sizes and label settings for dimension lines, arrowheads and text
The same style
Measurement annotations drawn in the 3D scene: linear, angular, radial, diametral and ordinate dimensions, each made of thin tube lines, cone arrowheads and a text label that shows the measured value. A dimension method returns an entity rather than drawing it; pass that entity to
draw.drawAnyAsyncto add it to the scene.dimensionStylesets the colors and sizes every kind shares, andadvanced.navigationholds the camera tools.