Method GetIntersection
- Namespace
- GeometryHelper.Core
- Assembly
- GeometryHelper.dll
GetIntersection(GeoLine2, GeoLine2)
Gets the intersection point between two line segments using default tolerance. Returns null if lines do not intersect.
public static GeoPoint2? GetIntersection(GeoLine2 line1, GeoLine2 line2)
Parameters
Returns
GetIntersection(GeoLine2, GeoLine2, Tolerance)
Gets the intersection point between two line segments within tolerance. Returns null if lines do not intersect.
public static GeoPoint2? GetIntersection(GeoLine2 line1, GeoLine2 line2, Tolerance tolerance)
Parameters
Returns
GetIntersection(GeoLine2, GeoLine2, LineExtension)
Gets the intersection point between two line segments, reading either or both as the infinite line carrying it, using default tolerance. Returns null if they do not meet within the reach allowed.
public static GeoPoint2? GetIntersection(GeoLine2 line1, GeoLine2 line2, LineExtension extension)
Parameters
line1GeoLine2line2GeoLine2extensionLineExtension
Returns
GetIntersection(GeoLine2, GeoLine2, LineExtension, Tolerance)
Gets the intersection point between two line segments, reading either or both as the infinite line carrying it, within tolerance. Returns null if they do not meet within the reach allowed.
public static GeoPoint2? GetIntersection(GeoLine2 line1, GeoLine2 line2, LineExtension extension, Tolerance tolerance)
Parameters
line1GeoLine2line2GeoLine2extensionLineExtensiontoleranceTolerance