Table of Contents

Method GetIntersection

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

GetIntersection(GeoLine2)

Gets the intersection point with another line segment using default tolerance. Returns null if lines do not intersect.

public GeoPoint2? GetIntersection(GeoLine2 other)

Parameters

other GeoLine2

Returns

GeoPoint2?

GetIntersection(GeoLine2, Tolerance)

Gets the intersection point with another line segment within tolerance. Returns null if lines do not intersect.

public GeoPoint2? GetIntersection(GeoLine2 other, Tolerance tolerance)

Parameters

other GeoLine2
tolerance Tolerance

Returns

GeoPoint2?

GetIntersection(GeoLine2, LineExtension)

Gets the intersection point with another line segment, reading this segment, the other or both as the infinite line carrying it, using default tolerance. Returns null if they do not meet.

public GeoPoint2? GetIntersection(GeoLine2 other, LineExtension extension)

Parameters

other GeoLine2
extension LineExtension

Returns

GeoPoint2?

GetIntersection(GeoLine2, LineExtension, Tolerance)

Gets the intersection point with another line segment, reading this segment, the other or both as the infinite line carrying it, within tolerance. Returns null if they do not meet.

public GeoPoint2? GetIntersection(GeoLine2 other, LineExtension extension, Tolerance tolerance)

Parameters

other GeoLine2
extension LineExtension
tolerance Tolerance

Returns

GeoPoint2?