Table of Contents

Class DxfArcDimension

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

An arc length dimension of a DXF file, as AutoCAD's ArcDimension: the length of an arc between two points of it, an ARC_DIMENSION (R2004 on; ezdxf writes one from R2000).

public sealed class DxfArcDimension : DxfDimension
Inheritance
DxfArcDimension
Inherited Members

Remarks

The dimension of the arc about (200, 100, 0) from (240, 100, 0) to (200, 140, 0), its own arc through (230, 130, 0), has CenterPoint (group 15), XLine1Point and XLine2Point (13, 14), ArcPoint (10) and a Measurement of 62.83, a quarter of a circle of radius 40. Its kind (group 70) is 5 in a file older than R2018 and 8 from R2018 on, as AutoCAD and ezdxf write it; a copy added to a file of the other kind of version is written so. As every DxfDimension, it is drawn by its block, which is not drawn anew when a point is moved.

Constructors

DxfArcDimension(GeoPoint3, GeoPoint3, GeoPoint3, GeoPoint3, string, DxfDimStyleTableRecord)

Initializes an arc length dimension, as AutoCAD's new ArcDimension(centerPoint, xLine1Point, xLine2Point, arcPoint, dimensionText, dimensionStyle), in no file until it is added to one; it needs its DimBlock before it is.

Properties

ArcEndParam

Gets or sets the parameter of the arc where a partial length ends (group 41 of AcDbArcDimension), as AutoCAD's ArcEndParam; nought where the record gives none.

ArcPoint

Gets or sets a point of the dimension's arc (groups 10, 20, 30), as AutoCAD's ArcPoint, in world coordinates.

ArcStartParam

Gets or sets the parameter of the arc where a partial length starts (group 40 of AcDbArcDimension), as AutoCAD's ArcStartParam; nought where the record gives none.

ArcSymbolType

Gets or sets where the arc symbol stands, as AutoCAD's ArcSymbolType: the dimension's Dimarcsym, 0 before the text, 1 above it, 2 none.

CenterPoint

Gets or sets the centre of the arc (groups 15, 25, 35), as AutoCAD's CenterPoint, in world coordinates.

HasLeader

Gets or sets whether a leader is drawn to the arc (group 71 of AcDbArcDimension), as AutoCAD's HasLeader.

IsPartial

Gets or sets whether the length is of a part of the arc (group 70 of AcDbArcDimension), as AutoCAD's IsPartial.

Leader1Point

Gets or sets the first point of the leader (groups 16, 26, 36), as AutoCAD's Leader1Point, in world coordinates.

Leader2Point

Gets or sets the second point of the leader (groups 17, 27, 37), as AutoCAD's Leader2Point, in world coordinates.

Measurement

Gets the length of the arc between the two points, as AutoCAD's Measurement: its radius, from the centre to the first point, by the angle swept on the side of the arc point, seen in the plane of the normal; 62.83 for a quarter of a circle of radius 40.

XLine1Point

Gets or sets the point of the arc where the length starts (groups 13, 23, 33), as AutoCAD's XLine1Point, in world coordinates.

XLine2Point

Gets or sets the point of the arc where the length ends (groups 14, 24, 34), as AutoCAD's XLine2Point, in world coordinates.