Table of Contents

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

rotation double

The direction measured along, in radians from the x axis: nought level, pi / 2 upright.

line1Point GeoPoint3

Where the first extension line starts, in world coordinates.

line2Point GeoPoint3

Where the second starts.

dimensionLinePoint GeoPoint3

A point of the dimension line.

dimensionText string

The text, as DimensionText; empty or null for the measurement.

dimensionStyle DxfDimStyleTableRecord

The 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.