Class Cube

java.lang.Object
au.edu.unsw.cse.Object3dAdaptor
au.edu.unsw.cse.Cube
All Implemented Interfaces:
Object3d

public class Cube
extends Object3dAdaptor
  • Constructor Details

    • Cube

      public Cube​(Point3d centre, double radius)
      Create a cube with centre at specified point and with given radius
    • Cube

      public Cube​(Point3d centre)
      Create a cube with centre at specified point and with same radius as last one
  • Method Details