Table of Contents

Method GetIntersection

Namespace
GeometryHelper.Core
Assembly
GeometryHelper.dll

GetIntersection(GeoLine3, GeoLine3)

Gets the point where two line segments meet, or null when they do not, using the default tolerance.

public static GeoPoint3? GetIntersection(GeoLine3 line1, GeoLine3 line2)

Parameters

line1 GeoLine3
line2 GeoLine3

Returns

GeoPoint3?

GetIntersection(GeoLine3, GeoLine3, Tolerance)

Gets the point where two line segments meet, or null when they do not, within a tolerance.

public static GeoPoint3? GetIntersection(GeoLine3 line1, GeoLine3 line2, Tolerance tolerance)

Parameters

line1 GeoLine3
line2 GeoLine3
tolerance Tolerance

Returns

GeoPoint3?

GetIntersection(GeoLine3, GeoLine3, LineExtension)

Gets the point where two line segments meet, reading either or both as the infinite line carrying it, or null when they do not, using the default tolerance.

public static GeoPoint3? GetIntersection(GeoLine3 line1, GeoLine3 line2, LineExtension extension)

Parameters

line1 GeoLine3
line2 GeoLine3
extension LineExtension

Returns

GeoPoint3?

GetIntersection(GeoLine3, GeoLine3, LineExtension, Tolerance)

Gets the point where two line segments meet, reading either or both as the infinite line carrying it, or null when they do not, within a tolerance.

public static GeoPoint3? GetIntersection(GeoLine3 line1, GeoLine3 line2, LineExtension extension, Tolerance tolerance)

Parameters

line1 GeoLine3
line2 GeoLine3
extension LineExtension
tolerance Tolerance

Returns

GeoPoint3?