intersectLineLine

Determine whether the two lines, specified via two points lying on each line, intersect each other, and store the point of intersection into the given vector <code>p</code>.

@param ps1x the x coordinate of the first point on the first line @param ps1y the y coordinate of the first point on the first line @param pe1x the x coordinate of the second point on the first line @param pe1y the y coordinate of the second point on the first line @param ps2x the x coordinate of the first point on the second line @param ps2y the y coordinate of the first point on the second line @param pe2x the x coordinate of the second point on the second line @param pe2y the y coordinate of the second point on the second line @param p will hold the point of intersection @return <code>true</code> iff the two lines intersect; <code>false</code> otherwise

static
bool
intersectLineLine
(
double ps1x
,
double ps1y
,
double pe1x
,
double pe1y
,
double ps2x
,
double ps2y
,
double pe2x
,
double pe2y
,)

Meta