public final class Polygons extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<BlockVector2D> |
polygonizeCylinder(Vector2D center,
Vector2D radius,
int maxPoints)
Calculates the polygon shape of a cylinder which can then be used for e.g.
|
public static List<BlockVector2D> polygonizeCylinder(Vector2D center, Vector2D radius, int maxPoints)
center - the center point of the cylinderradius - the radius of the cylindermaxPoints - max points to be used for the calculationBlockVector2D which resemble the shape as a polygonCopyright © 2010-2014. All Rights Reserved.