org.postgis
public abstract class PGboxbase extends org.postgresql.util.PGobject
| Modifier and Type | Field and Description |
|---|---|
protected Point |
llb
The lower left bottom corner of the box.
|
protected Point |
urt
The upper right top corner of the box.
|
| Constructor and Description |
|---|
PGboxbase() |
PGboxbase(Point llb,
Point urt) |
PGboxbase(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
protected static boolean |
compareLazyDim(Point first,
Point second)
Compare two coordinates with lazy dimension checking.
|
boolean |
equals(java.lang.Object other) |
Point |
getLLB()
Returns the lower left bottom corner of the box as a Point object
|
abstract java.lang.String |
getPGtype()
The Postgres type we have (same construct as getPrefix())
|
abstract java.lang.String |
getPrefix()
The Prefix we have in WKT rep.
|
Point |
getURT()
Returns the upper right top corner of the box as a Point object
|
java.lang.String |
getValue() |
protected abstract PGboxbase |
newInstance()
We could have used this.getClass().newInstance() here, but this forces us
dealing with InstantiationException and IllegalAccessException.
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
Unlike geometries, toString() does _not_ contain the srid, as server-side
PostGIS cannot parse this.
|
protected Point llb
protected Point urt
public PGboxbase()
public PGboxbase(java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic abstract java.lang.String getPrefix()
public abstract java.lang.String getPGtype()
public void setValue(java.lang.String value)
throws java.sql.SQLException
setValue in class org.postgresql.util.PGobjectjava.sql.SQLExceptionpublic java.lang.String getValue()
getValue in class org.postgresql.util.PGobjectpublic java.lang.String toString()
toString in class org.postgresql.util.PGobjectpublic Point getLLB()
public Point getURT()
public boolean equals(java.lang.Object other)
equals in class org.postgresql.util.PGobjectprotected static boolean compareLazyDim(Point first, Point second)
public java.lang.Object clone()
clone in class org.postgresql.util.PGobjectprotected abstract PGboxbase newInstance()
Copyright © 2016. All Rights Reserved.