Package com.rvandoosselaer.blocks.shapes
Class Cylinder
java.lang.Object
com.rvandoosselaer.blocks.shapes.Cylinder
- All Implemented Interfaces:
Shape
A shape implementation for a cylinder. The default direction of a cylinder is UP. A direction of NORTH/EAST/SOUTH/WEST will
create a horizontal cylinder, with the top face facing the direction. The Direction UP/DOWN will create a vertical cylinder.
The top and bottom radius of the cylinder can be configured as the radial samples.
-
Field Summary
Fields inherited from interface com.rvandoosselaer.blocks.Shape
DIRECTIONS_SIZE, FACES_DIR, ROTATION_DOWN, ROTATION_EAST, ROTATION_NORTH, ROTATION_SOUTH, ROTATION_UP, ROTATION_WEST, YAW_EAST, YAW_NORTH, YAW_UP, YAW_WEST
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Cylinder
public Cylinder() -
Cylinder
public Cylinder(float radius) -
Cylinder
-
Cylinder
-
-
Method Details