Method SetFromGeCurve
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFromGeCurve(object)
Gives the line the ends of a GeoLine3, as AutoCAD's SetFromGeCurve, its normal kept; or of a
GeoLine2, written at z = 0 with the normal (0, 0, 1) as DxfWriter writes one, which
ToGeoLine2() gives back to the bit.
public override void SetFromGeCurve(object geCurve)
Parameters
Exceptions
- ArgumentException
Thrown when the shape is not a GeoLine3 or a GeoLine2, or not one of finite numbers.
- InvalidOperationException
Thrown when the line is erased.