Class KochSnowflakeBuilder
java.lang.Object
org.locationtech.jts.shape.GeometricShapeBuilder
org.locationtech.jts.shape.fractal.KochSnowflakeBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSide
(int level, Coordinate p0, Coordinate p1) static int
recursionLevelForSize
(int numPts) Methods inherited from class org.locationtech.jts.shape.GeometricShapeBuilder
getCentre, getDiameter, getExtent, getRadius, getSquareBaseLine, getSquareExtent, setExtent, setNumPoints
-
Constructor Details
-
KochSnowflakeBuilder
-
-
Method Details
-
recursionLevelForSize
public static int recursionLevelForSize(int numPts) -
getGeometry
- Specified by:
getGeometry
in classGeometricShapeBuilder
-
addSide
-