intersectLineSegmentPlane

Determine whether the line segment with the end points <code>(p0X, p0Y, p0Z)</code> and <code>(p1X, p1Y, p1Z)</code> intersects the plane given as the general plane equation <i>a*x + b*y + c*z + d = 0</i>, and return the point of intersection.

@param p0X the x coordinate of the line segment's first end point @param p0Y the y coordinate of the line segment's first end point @param p0Z the z coordinate of the line segment's first end point @param p1X the x coordinate of the line segment's second end point @param p1Y the y coordinate of the line segment's second end point @param p1Z the z coordinate of the line segment's second end point @param a the x factor in the plane equation @param b the y factor in the plane equation @param c the z factor in the plane equation @param d the constant in the plane equation @param intersectionPoint the point of intersection @return <code>true</code> if the given line segment intersects the plane; <code>false</code> otherwise

public static
bool
intersectLineSegmentPlane
(
double p0X
,
double p0Y
,
double p0Z
,
double p1X
,
double p1Y
,
double p1Z
,
double a
,
double b
,
double c
,
double d
,)

Meta