Module swim.math
Package swim.math

Class Z2Shape

java.lang.Object
swim.math.Z2Shape
All Implemented Interfaces:
Shape
Direct Known Subclasses:
Z2Box, Z2Point

public abstract class Z2Shape extends Object implements Shape
  • Constructor Details

    • Z2Shape

      public Z2Shape()
  • Method Details

    • xMin

      public abstract long xMin()
    • yMin

      public abstract long yMin()
    • xMax

      public abstract long xMax()
    • yMax

      public abstract long yMax()
    • contains

      public boolean contains(Shape shape)
      Specified by:
      contains in interface Shape
    • intersects

      public boolean intersects(Shape shape)
      Specified by:
      intersects in interface Shape
    • contains

      public abstract boolean contains(Z2Shape shape)
    • intersects

      public abstract boolean intersects(Z2Shape shape)
    • transform

      public abstract R2Shape transform(Z2ToR2Function f)
    • shapeForm

      public static Z2Form<Z2Shape> shapeForm()