C# Class Spatial4n.Core.Io.NtsShapeReadWriter

Inheritance: ShapeReadWriter
Datei anzeigen Open project: synhershko/Spatial4n Class Usage Examples

Public Methods

Method Description
NtsShapeReadWriter ( NtsSpatialContext ctx ) : System
NtsShapeReadWriter ( NtsSpatialContext ctx, bool normalizeGeomCoords ) : System
ReadShape ( String str ) : Shape
ReadShapeFromBytes ( byte array, int offset, int length ) : Shape
WriteShape ( Shape shape ) : String
WriteShapeToBytes ( Shape shape ) : byte[]

Private Methods

Method Description
CheckCoordinates ( IGeometry geom ) : void

Method Details

NtsShapeReadWriter() public method

public NtsShapeReadWriter ( NtsSpatialContext ctx ) : System
ctx Spatial4n.Core.Context.Nts.NtsSpatialContext
return System

NtsShapeReadWriter() public method

public NtsShapeReadWriter ( NtsSpatialContext ctx, bool normalizeGeomCoords ) : System
ctx Spatial4n.Core.Context.Nts.NtsSpatialContext
normalizeGeomCoords bool
return System

ReadShape() public method

public ReadShape ( String str ) : Shape
str String
return Shape

ReadShapeFromBytes() public method

public ReadShapeFromBytes ( byte array, int offset, int length ) : Shape
array byte
offset int
length int
return Shape

WriteShape() public method

public WriteShape ( Shape shape ) : String
shape Shape
return String

WriteShapeToBytes() public method

public WriteShapeToBytes ( Shape shape ) : byte[]
shape Shape
return byte[]