Table of Contents

Method Offset

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Offset(double)

Gets the line parallel to this one at a distance, to its left.

public GeoXLine2 Offset(double distance)

Parameters

distance double

How far to move it; positive to the left looking along the direction, negative to the right.

Returns

GeoXLine2

The parallel line, with the same direction.

Remarks

The line through the origin along X offset by 5 is the line through (0, 5) along X; offset by -5 it passes through (0, -5).

Exceptions

ArgumentOutOfRangeException

Thrown when the distance is NaN or infinite.