public class WKBGeometryWriter
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
swigCMemOwn |
构造器和说明 |
---|
WKBGeometryWriter()
Constructs a new WKBGeometryWriter objects with default settings.
|
WKBGeometryWriter(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
boolean |
getBigEndian()
Returns the endianness of output format.
|
static long |
getCPtr(WKBGeometryWriter obj) |
boolean |
getZ()
Returns the state of Z coordinate serialization.
|
void |
setBigEndian(boolean bigEndian)
Sets the endianness of output format.
|
void |
setZ(boolean z)
Sets the state of Z coordinate serialization.
|
BinaryData |
writeGeometry(Geometry geometry)
Creates a WKB data corresponding to the specified geometry.
|
public WKBGeometryWriter(long cPtr, boolean cMemoryOwn)
public WKBGeometryWriter()
public static long getCPtr(WKBGeometryWriter obj)
protected void finalize()
finalize
在类中 java.lang.Object
public void delete()
public boolean getBigEndian()
public void setBigEndian(boolean bigEndian)
bigEndian
- True if big-endian representation should be used, false if little-endian.public boolean getZ()
public void setZ(boolean z)
z
- True when Z coordinate should be serialized, false otherwise.public BinaryData writeGeometry(Geometry geometry)
geometry
- The geometry to write.java.lang.Exception
- If writing fails.