Table of Contents

Method OffsetThrough

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

OffsetThrough(GeoLine3, GeoPoint3)

Gets the segment parallel to a segment that passes through a point, using the default tolerance.

public static GeoLine3 OffsetThrough(GeoLine3 line, GeoPoint3 point)

Parameters

line GeoLine3

The segment.

point GeoPoint3

A point the parallel segment passes through.

Returns

GeoLine3

The parallel segment, of the same length and running the same way.

Exceptions

InvalidOperationException

Thrown when the segment is too short to have a direction.

OffsetThrough(GeoLine3, GeoPoint3, Tolerance)

Gets the segment parallel to a segment that passes through a point, within a tolerance. The segment is moved square to itself only, so the point need not lie between its ends.

public static GeoLine3 OffsetThrough(GeoLine3 line, GeoPoint3 point, Tolerance tolerance)

Parameters

line GeoLine3

The segment.

point GeoPoint3

A point the parallel segment passes through.

tolerance Tolerance

The tolerance.

Returns

GeoLine3

The parallel segment, of the same length and running the same way.

Exceptions

InvalidOperationException

Thrown when the segment is too short to have a direction.