C# 클래스 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.
상속: SpatialContext
파일 보기 프로젝트 열기: synhershko/Spatial4n 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GEO NtsSpatialContext

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
MakeShapeReadWriter ( ) : ShapeReadWriter

메소드 상세

GetGeometryFactory() 공개 메소드

public GetGeometryFactory ( ) : NetTopologySuite.Geometries.GeometryFactory
리턴 NetTopologySuite.Geometries.GeometryFactory

GetGeometryFrom() 공개 메소드

public GetGeometryFrom ( Shape shape ) : IGeometry
shape Shape
리턴 IGeometry

MakePoint() 공개 메소드

public MakePoint ( double x, double y ) : Shapes.Point
x double
y double
리턴 Shapes.Point

MakeShapeReadWriter() 보호된 메소드

protected MakeShapeReadWriter ( ) : ShapeReadWriter
리턴 Spatial4n.Core.Io.ShapeReadWriter

NtsSpatialContext() 공개 메소드

public NtsSpatialContext ( NetTopologySuite.Geometries.GeometryFactory geometryFactory, bool geo, DistanceCalculator calculator, Rectangle worldBounds ) : System
geometryFactory NetTopologySuite.Geometries.GeometryFactory
geo bool
calculator DistanceCalculator
worldBounds Rectangle
리턴 System

NtsSpatialContext() 공개 메소드

public NtsSpatialContext ( bool geo ) : System
geo bool
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

프로퍼티 상세

GEO 공개적으로 정적으로 프로퍼티

public static NtsSpatialContext,Spatial4n.Core.Context.Nts GEO
리턴 NtsSpatialContext