Table of Contents

Property UnitDir

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

UnitDir

Gets or sets the direction of the xline (groups 11, 21, 31), as AutoCAD's UnitDir: as the file holds it, of unit length in a file AutoCAD wrote; (0, 0, 1) where the record gives none.

public GeoVector3 UnitDir { get; set; }

Property Value

GeoVector3

Set, a direction of some length, written made of unit length.

Exceptions

ArgumentException

Thrown when the direction set has no length or is not finite.

InvalidOperationException

Thrown when the xline is erased.