Click or drag to resize

LineTools Class

Class providing various utility methods for lines.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Generic.Spatial.AlgorithmLineTools

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 class LineTools

The LineTools type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAreLineSegmentsParallel(Coordinate, Coordinate, Coordinate, Coordinate)
OverLoad of AreLineSegmentsParallel(x1, y1, x2, y2, x3, y3, x4, y4)
Public methodStatic memberAreLineSegmentsParallel(Double, Double, Double, Double, Double, Double, Double, Double)
Returns true if two line segments are parallel.
Public methodStatic memberCalculateIntersectionPoint
Calculate intersection point between two line segments.
Public methodStatic memberDoLineSegmentsIntersect(Coordinate, Coordinate, Coordinate, Coordinate)
OverLoad of DoLineSegmentsIntersect(x1, y1, x2, y2, x3, y3, x4, y4)
Public methodStatic memberDoLineSegmentsIntersect(ICoordinate, ICoordinate, ICoordinate, ICoordinate)
OverLoad of DoLineSegmentsIntersect(x1, y1, x2, y2, x3, y3, x4, y4)
Public methodStatic memberDoLineSegmentsIntersect(Double, Double, Double, Double, Double, Double, Double, Double)
Returns true if two line segments intersects. The lines are said to intersect if the lines axctually crosses and not if they only share a point.
Top
See Also