Class Octahedron

All Implemented Interfaces:
Pickable, Hintable, Renderable, Savable

public class Octahedron extends Mesh
An eight faced polyhedron. It looks somewhat like two pyramids placed bottom to bottom.
  • Constructor Details

    • Octahedron

      public Octahedron()
    • Octahedron

      public Octahedron(String name, double sideLength)
      Creates an octahedron with center at the origin. The lenght sides are given.
      Parameters:
      name - The name of the octahedron.
      sideLength - The length of each side of the octahedron.
  • Method Details