Class Circle


public class Circle extends Mesh2D

Mesh2D with circle geometry.

Version:
$Id: $Id
Author:
pastthepixels
  • Field Details

  • Constructor Details

    • Circle

      public Circle()
  • Method Details

    • updateGeometry

      public void updateGeometry()
      Recreates the geometry of the object taking in factors like its position. This function is designed to be overridden and is called automaticaly when the mesh is drawn.
      Overrides:
      updateGeometry in class Mesh2D
    • setRadius

      public void setRadius(double radius)
      Sets the radius of the circle.
      Parameters:
      radius - a double