Click or drag to resize

mxUtilsIntersection Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns the intersection of two lines as an mxPoint.

Namespace:  imbSCI.Graph.MXGraph.utils
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public static mxPoint Intersection(
	double x0,
	double y0,
	double x1,
	double y1,
	double x2,
	double y2,
	double x3,
	double y3
)
Request Example View Source

Parameters

x0
Type: SystemDouble
X-coordinate of the first line's startpoint.
y0
Type: SystemDouble
Y-coordinate of the first line's startpoint.
x1
Type: SystemDouble
X-coordinate of the first line's endpoint.
y1
Type: SystemDouble
Y-coordinate of the first line's endpoint.
x2
Type: SystemDouble
X-coordinate of the second line's startpoint.
y2
Type: SystemDouble
Y-coordinate of the second line's startpoint.
x3
Type: SystemDouble
X-coordinate of the second line's endpoint.
y3
Type: SystemDouble
Y-coordinate of the second line's endpoint.

Return Value

Type: mxPoint
See Also