Enum EllipseException.tExceptionType
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
The reason for an EllipseException.
public enum EllipseException.tExceptionType
Fields
EllipseIsNotACircle = 0Radius was read from an ellipse whose major and minor radius differ.
SetCircle3PointsFailed = 1SetCircle3Points(GeoPoint, GeoPoint, GeoPoint, Plane) or SetArc3Points(GeoPoint, GeoPoint, GeoPoint, Plane) failed because the three points are collinear or coincide.
SetCirclePlane2PointsFailed = 2SetCirclePlane2Points(Plane, GeoPoint, GeoPoint), SetArcPlane2Points(Plane, GeoPoint, GeoPoint) or SetArcPlane2PointsRadiusLocation(Plane, GeoPoint, GeoPoint, double, GeoPoint, int) failed because of an invalid plane.
SetEllipse2PointsDirectionsFailed = 4Reserved for SetEllipse2PointsDirections(GeoPoint, GeoVector, GeoPoint, GeoVector) and SetEllipseArc2PointsDirections(GeoPoint, GeoVector, GeoPoint, GeoVector, bool, Plane); the current implementation returns false instead of throwing.
SetStartPointFailed = 3The StartPoint or EndPoint setter of an arc was called with a point that coincides with the other end or does not allow a circular arc.