Module swim.math
Package swim.math

Class R3Box

    • Field Detail

      • xMin

        public final double xMin
      • yMin

        public final double yMin
      • zMin

        public final double zMin
      • xMax

        public final double xMax
      • yMax

        public final double yMax
      • zMax

        public final double zMax
    • Constructor Detail

      • R3Box

        public R3Box​(double xMin,
                     double yMin,
                     double zMin,
                     double xMax,
                     double yMax,
                     double zMax)
    • Method Detail

      • xMin

        public final double xMin()
        Specified by:
        xMin in class R3Shape
      • yMin

        public final double yMin()
        Specified by:
        yMin in class R3Shape
      • zMin

        public final double zMin()
        Specified by:
        zMin in class R3Shape
      • xMax

        public final double xMax()
        Specified by:
        xMax in class R3Shape
      • yMax

        public final double yMax()
        Specified by:
        yMax in class R3Shape
      • zMax

        public final double zMax()
        Specified by:
        zMax in class R3Shape
      • contains

        public boolean contains​(R3Point point)
      • contains

        public boolean contains​(R3Box box)
      • contains

        public boolean contains​(R3Sphere sphere)
      • intersects

        public boolean intersects​(R3Point point)
      • intersects

        public boolean intersects​(R3Box box)
      • intersects

        public boolean intersects​(R3Sphere sphere)
      • canEqual

        protected boolean canEqual​(R3Box that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.
      • of

        public static R3Box of​(double xMin,
                               double yMin,
                               double zMin,
                               double xMax,
                               double yMax,
                               double zMax)