C# Class Spatial4n.Core.Context.Nts.NtsSpatialContext

Enhances the default {@link SpatialContext} with support for Polygons (and other geometry) plus reading WKT. The popular JTS library does the heavy lifting.
Inheritance: SpatialContext
Afficher le fichier Open project: synhershko/Spatial4n Class Usage Examples

Méthodes publiques

Свойство Type Description
GEO NtsSpatialContext

Méthodes publiques

Méthode Description
GetGeometryFactory ( ) : NetTopologySuite.Geometries.GeometryFactory
GetGeometryFrom ( Shape shape ) : IGeometry
MakePoint ( double x, double y ) : Shapes.Point
NtsSpatialContext ( NetTopologySuite.Geometries.GeometryFactory geometryFactory, bool geo, DistanceCalculator calculator, Rectangle worldBounds ) : System
NtsSpatialContext ( bool geo ) : System
ToString ( ) : String

Méthodes protégées

Méthode Description
MakeShapeReadWriter ( ) : ShapeReadWriter

Method Details

GetGeometryFactory() public méthode

public GetGeometryFactory ( ) : NetTopologySuite.Geometries.GeometryFactory
Résultat NetTopologySuite.Geometries.GeometryFactory

GetGeometryFrom() public méthode

public GetGeometryFrom ( Shape shape ) : IGeometry
shape Shape
Résultat IGeometry

MakePoint() public méthode

public MakePoint ( double x, double y ) : Shapes.Point
x double
y double
Résultat Shapes.Point

MakeShapeReadWriter() protected méthode

protected MakeShapeReadWriter ( ) : ShapeReadWriter
Résultat Spatial4n.Core.Io.ShapeReadWriter

NtsSpatialContext() public méthode

public NtsSpatialContext ( NetTopologySuite.Geometries.GeometryFactory geometryFactory, bool geo, DistanceCalculator calculator, Rectangle worldBounds ) : System
geometryFactory NetTopologySuite.Geometries.GeometryFactory
geo bool
calculator DistanceCalculator
worldBounds Rectangle
Résultat System

NtsSpatialContext() public méthode

public NtsSpatialContext ( bool geo ) : System
geo bool
Résultat System

ToString() public méthode

public ToString ( ) : String
Résultat String

Property Details

GEO public_oe static_oe property

public static NtsSpatialContext,Spatial4n.Core.Context.Nts GEO
Résultat NtsSpatialContext