Class DxfRotatedDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A rotated dimension of a DXF file, as AutoCAD's RotatedDimension: the distance between two points measured along
a direction, level, upright or turned; a DIMENSION of kind 0.
public sealed class DxfRotatedDimension : DxfDimension
- Inheritance
-
DxfRotatedDimension
- Inherited Members
Remarks
The dimension of (0, 0, 0) and (100, 20, 0) along 30 degrees has Rotation pi / 6 (group 50 of 30) and a Measurement of 96.60, the distance between the points along that direction. As every DxfDimension, it is drawn by its block, which is not drawn anew when a point is moved.
Constructors
- DxfRotatedDimension()
Initializes a level dimension of the origin to the origin, as AutoCAD's
new RotatedDimension(), in the style Standard.
- DxfRotatedDimension(double, GeoPoint3, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)
Initializes a rotated dimension, as AutoCAD's
new RotatedDimension(rotation, line1Point, line2Point, dimensionLinePoint, dimensionText, dimensionStyle), in no file until it is added to one; it needs its DimBlock before it is.
Properties
- DimLinePoint
Gets or sets a point of the dimension line (groups 10, 20, 30), as AutoCAD's
DimLinePoint, in world coordinates.
- Measurement
Gets the distance between the two points along Rotation, as AutoCAD's
Measurement, the direction taken in the plane of the normal: 96.60 from (0, 0, 0) to (100, 20, 0) along 30 degrees.
- Oblique
Gets or sets the angle of the extension lines from the dimension line (group 52, in degrees), as AutoCAD's
Oblique: in radians; nought where the record gives none, the extension lines then square to the line. The extension lines run at Rotation and this together from the x axis: AutoCAD 2021 gives an Oblique of 30 to a dimension rotated 30 that DIMEDIT slants to 60.
- Rotation
Gets or sets the direction measured along (group 50, in degrees, in the plane of the normal), as AutoCAD's
Rotation: in radians, nought along x, pi / 2 along y; nought where the record gives none.
- XLine1Point
Gets or sets where the first extension line starts (groups 13, 23, 33), as AutoCAD's
XLine1Point, in world coordinates.
- XLine2Point
Gets or sets where the second extension line starts (groups 14, 24, 34), as AutoCAD's
XLine2Point, in world coordinates.