Constructor DxfRotatedDimension
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfRotatedDimension()
Initializes a level dimension of the origin to the origin, as AutoCAD's new RotatedDimension(), in the style Standard.
public DxfRotatedDimension()
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.
public DxfRotatedDimension(double rotation, GeoPoint3 line1Point, GeoPoint3 line2Point, GeoPoint3 dimensionLinePoint, string dimensionText, DxfDimStyleTableRecord dimensionStyle)
Parameters
rotationdoubleThe direction measured along, in radians from the x axis: nought level, pi / 2 upright.
line1PointGeoPoint3Where the first extension line starts, in world coordinates.
line2PointGeoPoint3Where the second starts.
dimensionLinePointGeoPoint3A point of the dimension line.
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 rotation is not a finite number.
- ArgumentException
Thrown when a coordinate is not a finite number.