Module swim.math
Package swim.math

Class SphereR3

    • Field Detail

      • cx

        public final double cx
      • cy

        public final double cy
      • cz

        public final double cz
      • r

        public final double r
    • Constructor Detail

      • SphereR3

        public SphereR3​(double cx,
                        double cy,
                        double cz,
                        double r)
    • Method Detail

      • of

        public static SphereR3 of​(double cx,
                                  double cy,
                                  double cz,
                                  double r)
      • 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​(PointR3 point)
      • contains

        public boolean contains​(BoxR3 box)
      • contains

        public boolean contains​(SphereR3 sphere)
      • intersects

        public boolean intersects​(PointR3 point)
      • intersects

        public boolean intersects​(BoxR3 box)
      • intersects

        public boolean intersects​(SphereR3 sphere)
      • canEqual

        protected boolean canEqual​(SphereR3 that)
      • hashCode

        public int hashCode()
        hashCode in class Object
      • debug

        public void debug​(Output<?> 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