Method ToGeoSpline2
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ToGeoSpline2()
Gets the curve of a splined leader as a spline of the plane, as DxfReader reads it with PlanAs2D within the default tolerance. One with a control point at a height does not lie on the floor, and is refused; so is a straight one, which ToGeoPolyline2() gives.
public GeoSpline2 ToGeoSpline2()
Returns
- GeoSpline2
The spline in the plane.
Exceptions
- InvalidOperationException
Thrown when the leader does not lie on the floor, is straight, has fewer than two vertices apart, a number of its record is not finite, or it is erased.
ToGeoSpline2(Tolerance)
Gets the curve of a splined leader as a spline of the plane, as ToGeoSpline2() does, within a tolerance, which says which vertices are one.
public GeoSpline2 ToGeoSpline2(Tolerance tolerance)
Parameters
Returns
- GeoSpline2
The spline in the plane.
Exceptions
- InvalidOperationException
Thrown when the leader does not lie on the floor, is straight, has fewer than two vertices apart within the point tolerance, a number of its record is not finite, or it is erased.