public class AttachedGeometry
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
AttachedGeometry() |
|
AttachedGeometry(AttachedGeometry geometry) |
protected |
AttachedGeometry(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(AttachedGeometry obj) |
AttachedGeometry[] |
getGeometries() |
Geometry.Type |
getType() |
int[] |
getVertices() |
static AttachedGeometry |
makeGeometryCollection(AttachedGeometry[] collection) |
static AttachedGeometry |
makeLineString(int[] vertices) |
static AttachedGeometry |
makeMultiLineString(AttachedGeometry[] collection) |
static AttachedGeometry |
makeMultiPoint(AttachedGeometry[] collection) |
static AttachedGeometry |
makeMultiPolygon(AttachedGeometry[] collection) |
static AttachedGeometry |
makePoint(int point) |
static AttachedGeometry |
makePolygon(int[] exterior_ring) |
void |
setGeometries(AttachedGeometry[] geometries) |
void |
setType(Geometry.Type type) |
void |
setVertices(int[] vertices) |
protected AttachedGeometry(long cPtr, boolean cMemoryOwn)
public AttachedGeometry()
public AttachedGeometry(AttachedGeometry geometry)
protected static long getCPtr(AttachedGeometry obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public void setType(Geometry.Type type)
public Geometry.Type getType()
public void setVertices(int[] vertices)
public int[] getVertices()
public void setGeometries(AttachedGeometry[] geometries)
public AttachedGeometry[] getGeometries()
public static AttachedGeometry makePoint(int point)
public static AttachedGeometry makeLineString(int[] vertices)
public static AttachedGeometry makePolygon(int[] exterior_ring)
public static AttachedGeometry makeMultiPoint(AttachedGeometry[] collection)
public static AttachedGeometry makeMultiLineString(AttachedGeometry[] collection)
public static AttachedGeometry makeMultiPolygon(AttachedGeometry[] collection)
public static AttachedGeometry makeGeometryCollection(AttachedGeometry[] collection)