|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.shape.GeometricShapeBuilder
com.vividsolutions.jts.shape.fractal.KochSnowflakeBuilder
public class KochSnowflakeBuilder
Field Summary |
---|
Fields inherited from class com.vividsolutions.jts.shape.GeometricShapeBuilder |
---|
extent, geomFactory, numPts |
Constructor Summary | |
---|---|
KochSnowflakeBuilder(GeometryFactory geomFactory)
|
Method Summary | |
---|---|
void |
addSide(int level,
Coordinate p0,
Coordinate p1)
|
Geometry |
getGeometry()
|
static int |
recursionLevelForSize(int numPts)
|
Methods inherited from class com.vividsolutions.jts.shape.GeometricShapeBuilder |
---|
createCoord, getCentre, getDiameter, getExtent, getRadius, getSquareBaseLine, getSquareExtent, setExtent, setNumPoints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KochSnowflakeBuilder(GeometryFactory geomFactory)
Method Detail |
---|
public static int recursionLevelForSize(int numPts)
public Geometry getGeometry()
getGeometry
in class GeometricShapeBuilder
public void addSide(int level, Coordinate p0, Coordinate p1)
|
JTS Topology Suite - v 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |