Method Extend
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Extend(double)
Extends a part of an ellipse round the ellipse to a parameter past one of its ends, as AutoCAD's Extend:
below StartParam moves its start back, above EndParam moves its end on.
public override void Extend(double newParameter)
Parameters
newParameterdoubleThe parameter, below the start or above the end, short of a whole turn.
Exceptions
- ArgumentOutOfRangeException
Thrown when the parameter lies on the ellipse, would make it a whole turn or more, or is not a finite number.
- NotSupportedException
Thrown when the ellipse is whole, with no end to extend.
- InvalidOperationException
Thrown when the ellipse is erased.
Extend(bool, GeoPoint3)
Extends a part of an ellipse at one end round the ellipse to a point of it, as AutoCAD's Extend.
public override void Extend(bool extendStart, GeoPoint3 toPoint)
Parameters
extendStartboolWhether the start is moved, else the end.
toPointGeoPoint3The point, within the point tolerance of the whole ellipse.
Exceptions
- ArgumentException
Thrown when the point is off the ellipse.
- NotSupportedException
Thrown when the ellipse is whole, with no end to extend.
- InvalidOperationException
Thrown when the ellipse is erased.