Class Box3


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

      • Box3

        public Box3()
      • Box3

        public Box3​(Box3 b)
      • Box3

        public Box3​(Point3 center,
                    float radius)
    • Method Detail

      • assign

        public final void assign​(Box3 b)
      • equals

        public final boolean equals​(Box3 p)
      • noteqauls

        public final boolean noteqauls​(Box3 p)
      • offset

        public final void offset​(float s)
      • offset

        public final void offset​(Point3 delta)
      • set

        public final void set​(Point3 p)
      • setNull

        public final void setNull()
      • add

        public final void add​(Box3 b)
      • add

        public final void add​(Point3 p)
      • intersect

        public final void intersect​(Box3 b)
      • translate

        public final void translate​(Point3 p)
      • isIn

        public final boolean isIn​(Point3 p)
      • isInEx

        public final boolean isInEx​(Point3 p)
      • collide

        public final boolean collide​(Box3 b)
      • isNull

        public final boolean isNull()
      • isEmpty

        public final boolean isEmpty()
      • diag

        public final float diag()
      • squaredDiag

        public final float squaredDiag()
      • center

        public final Point3 center()
      • distance

        public final float distance​(Point3 p1,
                                    Point3 p2)
      • squaredDistance

        public final float squaredDistance​(Point3 p1,
                                           Point3 p2)
      • dim

        public final Point3 dim()
      • localToGlobal

        public final Point3 localToGlobal​(Point3 p)
      • globalToLocal

        public final Point3 globalToLocal​(Point3 p)
      • volume

        public final float volume()
      • dimX

        public final float dimX()
      • dimY

        public final float dimY()
      • dimZ

        public final float dimZ()
      • maxDim

        public final int maxDim()
      • minDim

        public final int minDim()
      • P

        public final Point3 P​(int i)