Method SetFromGeCurve
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFromGeCurve(object)
Gives the spline the degree, knots, control points and weights of a GeoSpline3, as AutoCAD's
SetFromGeCurve: its fit data taken out. A GeoSpline2 is written as DxfWriter
writes one, at z = 0, planar on the normal (0, 0, 1), flagged closed only where its ends are one point exactly, and
comes back from ToGeoSpline2() to the bit.
public override void SetFromGeCurve(object geCurve)
Parameters
geCurveobjectThe spline, a GeoSpline3 or a GeoSpline2.
Exceptions
- ArgumentException
Thrown when the shape is not a GeoSpline3 or a GeoSpline2.
- InvalidOperationException
Thrown when the spline is erased.