Table of Contents

Method SetFromGeCurve

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetFromGeCurve(object)

Gives the xline the origin and direction of a GeoXLine3, as AutoCAD's SetFromGeCurve, or of a GeoXLine2 at z = 0, each written as DxfWriter writes one.

public override void SetFromGeCurve(object geCurve)

Parameters

geCurve object

The line, a GeoXLine3 or a GeoXLine2.

Exceptions

ArgumentException

Thrown when the shape is not a GeoXLine3 or a GeoXLine2, or not one of finite numbers and some direction.

InvalidOperationException

Thrown when the xline is erased.