public class MortonCurveBuilder extends GeometricShapeBuilder
LineString
representing the Morton Curve
at a given level.MortonCode
Constructor and Description |
---|
MortonCurveBuilder(GeometryFactory geomFactory)
Creates a new instance using the provided
GeometryFactory . |
Modifier and Type | Method and Description |
---|---|
Geometry |
getGeometry() |
void |
setLevel(int level)
Sets the level of curve to generate.
|
getCentre, getDiameter, getExtent, getRadius, getSquareBaseLine, getSquareExtent, setExtent, setNumPoints
public MortonCurveBuilder(GeometryFactory geomFactory)
GeometryFactory
.geomFactory
- the geometry factory to usepublic void setLevel(int level)
level
- the level of the curvepublic Geometry getGeometry()
getGeometry
in class GeometricShapeBuilder
Copyright © 2022. All rights reserved.