Method ToGeoEllipse2
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ToGeoEllipse2()
Gets the whole ellipse in the plane, as DxfReader reads it with PlanAs2D within the default tolerance: the ellipse about (0, 0, 0) with the end of its major axis at (60, 0, 0) and a ratio of 0.5 is the GeoEllipse2 of radii 60 and 30 along x. One at a height, or on a normal other than (0, 0, 1) and (0, 0, -1), does not lie on the floor, and is refused; so is a part of an ellipse, which ToGeoSpline2() gives.
public GeoEllipse2 ToGeoEllipse2()
Returns
- GeoEllipse2
The ellipse in the plane.
Exceptions
- InvalidOperationException
Thrown when the ellipse does not lie on the floor, is a part of one, has no major axis within the default point tolerance, a number of its record is not finite, or it is erased.
ToGeoEllipse2(Tolerance)
Gets the whole ellipse in the plane, as ToGeoEllipse2() does, within a tolerance, which says whether its major axis has a length.
public GeoEllipse2 ToGeoEllipse2(Tolerance tolerance)
Parameters
Returns
- GeoEllipse2
The ellipse in the plane.
Exceptions
- InvalidOperationException
Thrown when the ellipse does not lie on the floor, is a part of one, has no major axis within the point tolerance, a number of its record is not finite, or it is erased.