Table of Contents

Method SetFromGeCurve

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetFromGeCurve(object)

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

public override void SetFromGeCurve(object geCurve)

Parameters

geCurve object

The ray, a GeoRay3 or a GeoRay2.

Exceptions

ArgumentException

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

InvalidOperationException

Thrown when the ray is erased.