Class SolidPolygonRectangularBox

Direct Known Subclasses:
SolidPolygonCube

public class SolidPolygonRectangularBox extends AbstractCompositeShape
  • Constructor Details

    • SolidPolygonRectangularBox

      public SolidPolygonRectangularBox(Point3D center, double size, Color color)
      Draws solid rectangular box between using center and size.
      Parameters:
      center - center of the box
      size - size of the box
      color - box color
    • SolidPolygonRectangularBox

      public SolidPolygonRectangularBox(Point3D p1, Point3D p7, Color color)
      Draws solid rectangular box between 2 given points in 3D space.