Table of Contents

Class DxfAlignedDimension

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

An aligned dimension of a DXF file, as AutoCAD's AlignedDimension: the distance between two points, measured along the line through them; a DIMENSION of kind 1.

public sealed class DxfAlignedDimension : DxfDimension
Inheritance
DxfAlignedDimension
Inherited Members

Remarks

The dimension of the points (0, -20, 0) and (80, -60, 0), its line 10 off them, has XLine1Point and XLine2Point those points (groups 13 and 14), DimLinePoint on its dimension line (10) and a Measurement of 89.44, the distance between them. As every DxfDimension, it is drawn by its block, which is not drawn anew when a point is moved.

Constructors

DxfAlignedDimension()

Initializes an aligned dimension of the origin to the origin, as AutoCAD's new AlignedDimension(), in the style Standard.

DxfAlignedDimension(GeoPoint3, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)

Initializes an aligned dimension, as AutoCAD's new AlignedDimension(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, as AutoCAD's Measurement: 89.44 from (0, -20, 0) to (80, -60, 0).

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 line runs from the first extension line's origin to the second's: AutoCAD 2021 gives an Oblique of 33.435 to a dimension from (0, 100) to (100, 150), whose line runs at 26.565, that DIMEDIT slants to 60.

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.