Click or drag to resize

LineToolsDoLineSegmentsIntersect Method (Coordinate, Coordinate, Coordinate, Coordinate)

OverLoad of DoLineSegmentsIntersect(x1, y1, x2, y2, x3, y3, x4, y4)

Namespace:  DHI.Mike1D.Generic.Spatial.Algorithm
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static bool DoLineSegmentsIntersect(
	Coordinate c1,
	Coordinate c2,
	Coordinate c3,
	Coordinate c4
)

Parameters

c1
Type: DHI.Mike1D.Generic.Spatial.GeometryCoordinate
First coordinate in first line
c2
Type: DHI.Mike1D.Generic.Spatial.GeometryCoordinate
Second coordinate in first line
c3
Type: DHI.Mike1D.Generic.Spatial.GeometryCoordinate
First coordinate in second line
c4
Type: DHI.Mike1D.Generic.Spatial.GeometryCoordinate
Second coordinate in second line

Return Value

Type: Boolean
true if the line segmenst intersects otherwise false
See Also