Package io.github.sebasbaumh.postgis
Class PGbox3d
java.lang.Object
org.postgresql.util.PGobject
io.github.sebasbaumh.postgis.PGboxbase
io.github.sebasbaumh.postgis.PGbox3d
- All Implemented Interfaces:
Serializable
,Cloneable
BOX3D representing the maximum extents of the geometry.
- Author:
- Sebastian Baumhekel
- See Also:
-
Field Summary
Fields inherited from class org.postgresql.util.PGobject
type, value
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.sebasbaumh.postgis.PGboxbase
equals, getLLB, getSrid, getURT, getValue, hashCode, isEmpty, setSrid, setValue, toString
Methods inherited from class org.postgresql.util.PGobject
equals, getType, isNull, setType
-
Constructor Details
-
PGbox3d
public PGbox3d()Constructs an instance. -
PGbox3d
Constructs an instance.- Parameters:
llb
- lower-left pointurt
- upper-right point
-
PGbox3d
Constructs an instance.- Parameters:
value
- WKT- Throws:
SQLException
-
-
Method Details
-
clone
- Overrides:
clone
in classPGboxbase
- Throws:
CloneNotSupportedException
-
getPrefix
Description copied from class:PGboxbase
The Prefix we have in WKT rep. I use an abstract method here so we do not need to replicate the String object in every instance. -
is3d
public boolean is3d()Description copied from class:PGboxbase
Checks if this box is 3d. -
to2d
Gets thisPoint
as a 2d object.- Returns:
Point
-