Table of Contents

Constructor DxfDiametricDimension

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DxfDiametricDimension()

Initializes a diameter dimension of the origin, as AutoCAD's new DiametricDimension(), in the style Standard.

public DxfDiametricDimension()

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.

public DxfDiametricDimension(GeoPoint3 chordPoint, GeoPoint3 farChordPoint, double leaderLength, string dimensionText, DxfDimStyleTableRecord dimensionStyle)

Parameters

chordPoint GeoPoint3

The point of the circle the leader starts at, in world coordinates.

farChordPoint GeoPoint3

The point opposite it.

leaderLength double

The length of the leader to the text.

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 length is not a finite number.

ArgumentException

Thrown when a coordinate is not a finite number.