Class MortonCurveBuilder

Hierarchy: Object , GeometricShapeBuilder, MortonCurveBuilder
public class MortonCurveBuilder
extends GeometricShapeBuilder
Generates a LineString representing the Morton Curve at a given level.
Authors:
Martin Davis
See also:
MortonCode
public MortonCurveBuilder(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]. This determines the number of points in the generated curve.
Parameters:
level - level the level of the curve
public Geometry getGeometry()