Class HilbertCurveBuilder

Hierarchy: Object , GeometricShapeBuilder, HilbertCurveBuilder
public class HilbertCurveBuilder
extends GeometricShapeBuilder
Generates a LineString representing the Hilbert Curve at a given level.
Authors:
Martin Davis
See also:
HilbertCode
public HilbertCurveBuilder(GeometryFactory geomFactory)
Creates a new instance using the provided GeometryFactory.
Parameters:
geomFactory - geomFactory the geometry factory to use
public void setLevel(int level)
Sets the level of curve to generate. The level must be in the range [0 - 16].
Parameters:
level - level the order of the curve
public Geometry getGeometry()