testAabPlane

Test whether the axis-aligned box with minimum corner <code>min</code> and maximum corner <code>max</code> intersects the plane with the general equation <i>a*x + b*y + c*z + d = 0</i>. <p> Reference: <a href="http://www.lighthouse3d.com/tutorials/view-frustum-culling/geometric-approach-testing-boxes-ii/">http://www.lighthouse3d.com</a> ("Geometric Approach - Testing Boxes II")

@param min the minimum corner of the axis-aligned box @param max the maximum corner of the axis-aligned box @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 @return <code>true</code> iff the axis-aligned box intersects the plane; <code>false</code> otherwise

  1. bool testAabPlane(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, double a, double b, double c, double d)
  2. bool testAabPlane(Vector3d min, Vector3d max, double a, double b, double c, double d)
    public static
    bool
    testAabPlane
    (,,
    double a
    ,
    double b
    ,
    double c
    ,
    double d
    )

Meta