Constructor DxfRadialDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfRadialDimension()
Initializes a radius dimension of the origin, as AutoCAD's new RadialDimension(), in the style Standard.
public DxfRadialDimension()
DxfRadialDimension(GeoPoint3, GeoPoint3, double, string, DxfDimStyleTableRecord)
Initializes a radius dimension, as AutoCAD's new RadialDimension(center, chordPoint, leaderLength, dimensionText,
dimensionStyle), in no file until it is added to one; it needs its DimBlock before it is.
public DxfRadialDimension(GeoPoint3 center, GeoPoint3 chordPoint, double leaderLength, string dimensionText, DxfDimStyleTableRecord dimensionStyle)
Parameters
centerGeoPoint3The centre, in world coordinates.
chordPointGeoPoint3The point of the circle or arc measured to.
leaderLengthdoubleThe length of the leader to the text.
dimensionTextstringThe text, as DimensionText; empty or null for the measurement.
dimensionStyleDxfDimStyleTableRecordThe style it is drawn in, by its name; null for Standard.
Exceptions
- ArgumentOutOfRangeException
Thrown when the length is not a finite number.
- ArgumentException
Thrown when a coordinate is not a finite number.