Class DxfDiametricDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A diameter dimension of a DXF file, as AutoCAD's DiametricDimension: the diameter of a circle or an arc, between
two points opposite on it; a DIMENSION of kind 3.
public sealed class DxfDiametricDimension : DxfDimension
- Inheritance
-
DxfDiametricDimension
- Inherited Members
Remarks
The dimension of the circle of radius 15 about (220, 0, 0), measured at 30 degrees, has ChordPoint (207.01, -7.5, 0) (group 15), FarChordPoint (232.99, 7.5, 0) (group 10) and a Measurement of 30. As every DxfDimension, it is drawn by its block, which is not drawn anew when a point is moved.
Constructors
- DxfDiametricDimension()
Initializes a diameter dimension of the origin, as AutoCAD's
new DiametricDimension(), in the style Standard.
- DxfDiametricDimension(GeoPoint3, GeoPoint3, double, string, DxfDimStyleTableRecord)
Initializes a diameter dimension, as AutoCAD's
new DiametricDimension(chordPoint, farChordPoint, leaderLength, dimensionText, dimensionStyle), in no file until it is added to one; it needs its DimBlock before it is.
Properties
- ChordPoint
Gets or sets the point of the circle the leader starts at (groups 15, 25, 35), as AutoCAD's
ChordPoint, in world coordinates.
- FarChordPoint
Gets or sets the point opposite the chord point (groups 10, 20, 30), as AutoCAD's
FarChordPoint, in world coordinates.
- LeaderLength
Gets or sets the length of the leader to the text (group 40), as AutoCAD's
LeaderLength; nought where the record gives none.
- Measurement
Gets the diameter, between the two chord points, as AutoCAD's
Measurement: 30 for a circle of radius 15.