Class KochSnowflakeBuilder
java.lang.Object
org.locationtech.jts.shape.GeometricShapeBuilder
org.locationtech.jts.shape.fractal.KochSnowflakeBuilder
-
Field Summary
Fields inherited from class org.locationtech.jts.shape.GeometricShapeBuilder
extent, geomFactory, numPts
-
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
createCoord, 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
-