Class HilbertCurveBuilder
Generates a LineString representing the Hilbert Curve at a given level.
Inherited Members
Namespace: NetTopologySuite.Shape.Fractal
Assembly: NetTopologySuite.dll
Syntax
public class HilbertCurveBuilder : GeometricShapeBuilder
Constructors
| Improve this Doc View SourceHilbertCurveBuilder(GeometryFactory)
Initializes a new instance of the HilbertCurveBuilder class using the provided GeometryFactory.
Declaration
public HilbertCurveBuilder(GeometryFactory geomFactory)
Parameters
Type | Name | Description |
---|---|---|
GeometryFactory | geomFactory | The geometry factory to use. |
Properties
| Improve this Doc View SourceLevel
Gets or 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.
Declaration
public int Level { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceGetGeometry()
Declaration
public override Geometry GetGeometry()
Returns
Type | Description |
---|---|
Geometry |