ShapeConverter¶
Namespace: ThinkGeo.Core
public static class ShapeConverter
Inheritance Object → ShapeConverter
Methods¶
JtsShapeToShape(Geometry)¶
internal static BaseShape JtsShapeToShape(Geometry targetJtsShape)
Parameters¶
targetJtsShape
Geometry
Returns¶
ShapeToJtsShape(BaseShape)¶
internal static Geometry ShapeToJtsShape(BaseShape targetShape)
Parameters¶
targetShape
BaseShape
Returns¶
Geometry
ShapeToJtsShape(Byte[])¶
internal static Geometry ShapeToJtsShape(Byte[] wkb)
Parameters¶
wkb
Byte[]
Returns¶
Geometry
WriteWkb(WkbShapeType, WkbByteOrder, BinaryWriter)¶
internal static void WriteWkb(WkbShapeType wkbShapeType, WkbByteOrder byteOrder, BinaryWriter writer)
Parameters¶
wkbShapeType
WkbShapeType
byteOrder
WkbByteOrder
writer
BinaryWriter
WriteWkb(Int32, WkbByteOrder, BinaryWriter)¶
internal static void WriteWkb(int wkbShapeType, WkbByteOrder byteOrder, BinaryWriter writer)
Parameters¶
wkbShapeType
Int32
byteOrder
WkbByteOrder
writer
BinaryWriter
WriteWkb(Double, WkbByteOrder, BinaryWriter)¶
internal static void WriteWkb(double value, WkbByteOrder byteOrder, BinaryWriter writer)
Parameters¶
value
Double
byteOrder
WkbByteOrder
writer
BinaryWriter
GetBaseShapeFromBytes(Byte[])¶
internal static BaseShape GetBaseShapeFromBytes(Byte[] wkb)
Parameters¶
wkb
Byte[]
Returns¶
GetVertexFormWkt(String)¶
internal static Vertex GetVertexFormWkt(string oneVertexWkt)
Parameters¶
oneVertexWkt
String
Returns¶
SetVertexToWkt(String, Vertex)¶
internal static string SetVertexToWkt(string oneVertexWkt, Vertex vertex)
Parameters¶
oneVertexWkt
String
vertex
Vertex
Returns¶
Events¶
ConvertedShapeToNtsGeometry¶
public static event EventHandler<ConvertedShapeToNtsGeometryShapeConverterEventArgs> ConvertedShapeToNtsGeometry;