Module swim.math
Package swim.math

Class R3Shape

java.lang.Object
swim.math.R3Shape
All Implemented Interfaces:
Shape
Direct Known Subclasses:
R3Box, R3Point, R3Sphere

public abstract class R3Shape extends Object implements Shape
  • Constructor Details

    • R3Shape

      public R3Shape()
  • Method Details

    • xMin

      public abstract double xMin()
    • yMin

      public abstract double yMin()
    • zMin

      public abstract double zMin()
    • xMax

      public abstract double xMax()
    • yMax

      public abstract double yMax()
    • zMax

      public abstract double zMax()
    • 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(R3Shape shape)
    • intersects

      public abstract boolean intersects(R3Shape shape)
    • transform

      public abstract Z3Shape transform(R3ToZ3Function f)
    • shapeForm

      @Kind public static R3Form<R3Shape> shapeForm()