Documentation of 'georegression.metric.Intersection3D_I32' Java class
Intersection3D_I32
georegression.metric

Class Intersection3D_I32



  • public class Intersection3D_I32
    extends java.lang.Object
    • Constructor Detail

      • Intersection3D_I32

        public Intersection3D_I32()
    • Method Detail

      • contained

        public static boolean contained(Box3D_I32 box,
                                        Point3D_I32 point)
        Returns true if the point is contained inside the box. The point is considered to be inside the box if the following test passes for each dimension. box.p0.x ≤ point.x < box.p1.x + box.lengthX
        Parameters:
        box - Box
        point - Point which is tested to see if it is inside the box
        Returns:
        true for inside and false for not
      • contained

        public static boolean contained(Box3D_I32 boxA,
                                        Box3D_I32 boxB)
        Returns true if boxB is contained inside of or is identical to boxA.
        Parameters:
        boxA - Box
        boxB - Box which is being tested to see if it is inside of boxA
        Returns:
        true if inside/identical or false if outside
      • intersect

        public static boolean intersect(Box3D_I32 boxA,
                                        Box3D_I32 boxB)
        Returns true if the two boxes intersect each other. p0 is inclusive and p1 is exclusive. So if the p0 edge and p1 edge overlap perfectly there is no intersection.
        Parameters:
        boxA - Box
        boxB - Box
        Returns:
        true for intersection and false if no intersection

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.