Method Extend
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Extend(double)
Extends the ray back along itself to a parameter below nought, as AutoCAD's Extend: its base point is moved
back there, so that its parameters start anew from it.
public override void Extend(double newParameter)
Parameters
newParameterdoubleThe parameter, the distance from the base point, below nought.
Exceptions
- ArgumentOutOfRangeException
Thrown when the parameter is nought or more, which lies on the ray, or is not a finite number.
- InvalidOperationException
Thrown when the ray is erased.
Extend(bool, GeoPoint3)
Extends the ray back to a point on the line through it, as AutoCAD's Extend: the base point moved there.
public override void Extend(bool extendStart, GeoPoint3 toPoint)
Parameters
extendStartboolWhether the start is moved; a ray has no end to move.
toPointGeoPoint3The point, within the point tolerance of the line through the ray.
Exceptions
- ArgumentException
Thrown when the point is off the line through the ray.
- NotSupportedException
Thrown when the end is to be moved: a ray has none.
- InvalidOperationException
Thrown when the ray is erased.