Package org.geolatte.geom.codec
Interface WkbEncoder
-
public interface WkbEncoderAn encoder for WKB (Well-Known Binary) encodedGeometries.In general
WkbEncoderimplementations are not be thread-safe.- Author:
- Karel Maesen, Geovise BVBA creation-date: 9/29/12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <P extends Position>
ByteBufferencode(Geometry<P> geometry, ByteOrder byteOrder)Encodes aGeometryto its WKB representation
-
-
-
Method Detail
-
encode
<P extends Position> ByteBuffer encode(Geometry<P> geometry, ByteOrder byteOrder)
Encodes aGeometryto its WKB representation- Parameters:
geometry- the geometry to encodebyteOrder- the bye-order for the WKB representation- Returns:
- a ByteBuffer containing the binary WKB representation of the specified geometry using the specified byte-order
-
-