Method ToGeoSpline2
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ToGeoSpline2()
Gets a part of an ellipse in the plane as the spline that is exactly that part, as DxfReader reads it with PlanAs2D within the default tolerance, in the direction of the file. One that does not lie on the floor is refused, and so is a whole ellipse, which ToGeoEllipse2() gives.
public GeoSpline2 ToGeoSpline2()
Returns
- GeoSpline2
The spline in the plane.
Exceptions
- InvalidOperationException
Thrown when the ellipse does not lie on the floor, is whole, has no major axis within the default point tolerance, a number of its record is not finite, or it is erased.
ToGeoSpline2(Tolerance)
Gets a part of an ellipse in the plane as the spline that is exactly that part, as ToGeoSpline2() does, within a tolerance, which says whether its major axis has a length.
public GeoSpline2 ToGeoSpline2(Tolerance tolerance)
Parameters
Returns
- GeoSpline2
The spline in the plane.
Exceptions
- InvalidOperationException
Thrown when the ellipse does not lie on the floor, is whole, has no major axis within the point tolerance, a number of its record is not finite, or it is erased.