java.lang.Object
com.marginallyclever.ro3.mesh.Mesh
com.marginallyclever.ro3.mesh.shapes.Cylinder

public class Cylinder extends Mesh

Cylinder is a Mesh. It has a diameter of 1 and a height of 1. The origin is at the center of the cylinder.

  • Field Details

    • RESOLUTION_CIRCULAR

      public static final int RESOLUTION_CIRCULAR
      See Also:
    • RESOLUTION_LENGTH

      public static final int RESOLUTION_LENGTH
      See Also:
    • radius0

      public float radius0
    • radius1

      public float radius1
    • height

      public float height
  • Constructor Details

    • Cylinder

      public Cylinder()
    • Cylinder

      public Cylinder(double height, double radius0, double radius1)