Click or drag to resize
GeManagerLineIntersection2d Method

Namespace: FDF.Common.Geometries
Assembly: FDF.Common (in FDF.Common.dll) Version: 3.0.0.0
Syntax
public static bool LineIntersection2d(
	ref GeCoordinate IntersectPoint,
	GeCoordinate L1StartPoint,
	GeCoordinate L1EndPoint,
	GeCoordinate L2StartPoint,
	GeCoordinate L2EndPoint
)

Parameters

IntersectPoint
Type: FDF.Common.GeometriesGeCoordinate
The intersection point. A PointD structure.
L1StartPoint
Type: FDF.Common.GeometriesGeCoordinate
The starting point of first line. A PointD structure.
L1EndPoint
Type: FDF.Common.GeometriesGeCoordinate
The end point of first line. A PointD structure.
L2StartPoint
Type: FDF.Common.GeometriesGeCoordinate
The starting point of second line. A PointD structure.
L2EndPoint
Type: FDF.Common.GeometriesGeCoordinate
The end point of second line. A PointD structure.

Return Value

Type: Boolean
Returns a boolean. True if there is intersection, false otherwise.
Remarks
The formula is taken from comp.graphics.algorithms Frequently Asked Questions.
See Also