testAabPlane

Test whether the axis-aligned box with minimum corner <code>(minX, minY, minZ)</code> and maximum corner <code>(maxX, maxY, maxZ)</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 minX the x coordinate of the minimum corner of the axis-aligned box @param minY the y coordinate of the minimum corner of the axis-aligned box @param minZ the z coordinate of the minimum corner of the axis-aligned box @param maxX the x coordinate of the maximum corner of the axis-aligned box @param maxY the y coordinate of the maximum corner of the axis-aligned box @param maxZ the z coordinate of 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)
    public static
    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)

Meta