Module swim.math
Package swim.math

Class CircleR2

    • Field Detail

      • cx

        public final double cx
      • cy

        public final double cy
      • r

        public final double r
    • Constructor Detail

      • CircleR2

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

      • of

        public static CircleR2 of​(double cx,
                                  double cy,
                                  double r)
      • xMin

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

        public final double yMin()
        Specified by:
        yMin in class R2Shape
      • xMax

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

        public final double yMax()
        Specified by:
        yMax in class R2Shape
      • contains

        public boolean contains​(PointR2 point)
      • contains

        public boolean contains​(BoxR2 box)
      • contains

        public boolean contains​(CircleR2 circle)
      • intersects

        public boolean intersects​(PointR2 point)
      • intersects

        public boolean intersects​(BoxR2 box)
      • intersects

        public boolean intersects​(CircleR2 circle)
      • canEqual

        protected boolean canEqual​(CircleR2 that)
      • hashCode

        public int hashCode()
        Overrides:
        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