Table of Contents

Method Extend

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Extend(double)

Extends the line along itself to a parameter past one of its ends, as AutoCAD's Extend: below nought moves its start back, above Length moves its end on.

public override void Extend(double newParameter)

Parameters

newParameter double

The parameter, the distance from the start along the line, below nought or above its length.

Exceptions

ArgumentOutOfRangeException

Thrown when the parameter lies on the line, or is not a finite number.

InvalidOperationException

Thrown when the line has no length to give it a direction, or is erased.

Extend(bool, GeoPoint3)

Extends the line at one end to a point on the infinite line through it, as AutoCAD's Extend.

public override void Extend(bool extendStart, GeoPoint3 toPoint)

Parameters

extendStart bool

Whether the start is moved, else the end.

toPoint GeoPoint3

The point, within the point tolerance of the infinite line through the line.

Exceptions

ArgumentException

Thrown when the point is off the line extended.

InvalidOperationException

Thrown when the line is erased.