|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.spatial.geom.Envelope
com.ibm.spatial.geom.Envelope.Double
public static class Envelope.Double
The Double class defines a shape envelope specified in
double coordinates.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ibm.spatial.geom.Envelope |
|---|
Envelope.Double, Envelope.Long |
| Field Summary | |
|---|---|
double |
maxM
The maximum measure of this Envelope. |
double |
maxX
The maximum x coordinate of this Envelope. |
double |
maxY
The maximum y coordinate of this Envelope. |
double |
maxZ
The maximum z coordinate of this Envelope. |
double |
minM
The minimum measure of this Envelope. |
double |
minX
The minimum x coordinate of this Envelope. |
double |
minY
The minimum y coordinate of this Envelope. |
double |
minZ
The minimum z coordinate of this Envelope. |
| Constructor Summary | |
|---|---|
Envelope.Double()
Constructs a new 2D (no z coordinate and measure) Envelope,
where minimum values are larger than maximums (empty envelope). |
|
Envelope.Double(double minX,
double minY,
double maxX,
double maxY)
Constructs and initializes a Envelope from the specified
coordinates. |
|
| Method Summary | |
|---|---|
Envelope |
createIntersection(Envelope e)
Returns a new Envelope object representing the intersection
of this Envelope with the specified Envelope. |
Envelope |
createUnion(Envelope e)
Returns a new Envelope object representing the union of
this Envelope with the specified Envelope. |
double |
getMaxM()
Returns the maximum Y coordinate of this Envelope
in double precision. |
double |
getMaxX()
Returns the maximum X coordinate of this Envelope
in double precision. |
double |
getMaxY()
Returns the maximum Y coordinate of this Envelope
in double precision. |
double |
getMaxZ()
Returns the maximum Z coordinate of this Envelope
in double precision. |
double |
getMinM()
Returns the minimum measure of this Envelope
in double precision. |
double |
getMinX()
Returns the minimum X coordinate of this Envelope
in double precision. |
double |
getMinY()
Returns the minimum Y coordinate of this Envelope
in double precision. |
double |
getMinZ()
Returns the minimum Z coordinate of this Envelope
in double precision. |
boolean |
hasM()
Determines whether or not this Envelope
haz M extent. |
boolean |
hasZ()
Determines whether or not this Envelope
haz Z extent. |
boolean |
isEmpty()
Determines whether or not this 2D Envelope is empty. |
void |
setEmpty()
Sets this Envelope to empty (no extent). |
void |
setExtent(double minX,
double minY,
double maxX,
double maxY)
Sets the extent of this Envelope to the specified values. |
void |
setExtent(Envelope e)
Sets this Envelope to be the same as the specified
Envelope. |
void |
setExtentM(double minM,
double maxM)
Sets the extent of the measure of this Envelope to the
specified values. |
void |
setExtentZ(double minZ,
double maxZ)
Sets the extent of the Z coordinate of this Envelope to the
specified values. |
java.lang.String |
toString()
Returns the String representation of this
Envelope. |
| Methods inherited from class com.ibm.spatial.geom.Envelope |
|---|
add, add, add, add, addM, addM, addZ, addZ, clone, equals, getCenter, getCenter, getMax, getMin, hashCode, intersect, intersects, union |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double minX
Envelope.
public double minY
Envelope.
public double maxX
Envelope.
public double maxY
Envelope.
public double minZ
Envelope.
public double maxZ
Envelope.
public double minM
Envelope.
public double maxM
Envelope.
| Constructor Detail |
|---|
public Envelope.Double()
Envelope,
where minimum values are larger than maximums (empty envelope).
public Envelope.Double(double minX,
double minY,
double maxX,
double maxY)
Envelope from the specified
coordinates. If the minimum values are larger than the maximum values
the envelope is defined as empty.
minX, maxX - the minimum/maximum x coordinate values of the
newly constructed EnvelopeminY, maxY - the minimum/maximum y coordinate values of the
newly constructed Envelope| Method Detail |
|---|
public double getMinX()
Envelope
in double precision.
getMinX in class EnvelopeEnvelope.public double getMaxX()
Envelope
in double precision.
getMaxX in class EnvelopeEnvelope.public double getMinY()
Envelope
in double precision.
getMinY in class EnvelopeEnvelope.public double getMaxY()
Envelope
in double precision.
getMaxY in class EnvelopeEnvelope.public double getMinZ()
Envelope
in double precision.
getMinZ in class EnvelopeEnvelope.public double getMaxZ()
Envelope
in double precision.
getMaxZ in class EnvelopeEnvelope.public double getMinM()
Envelope
in double precision.
getMinM in class EnvelopeEnvelope.public double getMaxM()
Envelope
in double precision.
getMaxM in class EnvelopeEnvelope.
public void setExtent(double minX,
double minY,
double maxX,
double maxY)
Envelope to the specified values.
setExtent in class EnvelopeminX, maxX - the minimum/maximum x coordinate valuesminY, maxY - the minimum/maximum y coordinate values
public void setExtentZ(double minZ,
double maxZ)
Envelope to the
specified values.
setExtentZ in class EnvelopeminZ, maxZ - the minimum/maximum Z coordinate values
public void setExtentM(double minM,
double maxM)
Envelope to the
specified values.
setExtentM in class EnvelopeminM, maxM - the minimum/maximum measure valuespublic void setExtent(Envelope e)
Envelope to be the same as the specified
Envelope.
setExtent in class Envelopee - the specified Envelopepublic boolean hasZ()
Envelope
haz Z extent.
hasZ in class Envelopetrue if this Envelope
has a Z extent; false otherwise.public boolean hasM()
Envelope
haz M extent.
hasM in class Envelopetrue if this Envelope
has an M extent; false otherwise.public boolean isEmpty()
Envelope is empty.
isEmpty in class Envelopetrue if this Envelope
is empty; false otherwise.public void setEmpty()
setEmpty in class Envelopepublic Envelope createIntersection(Envelope e)
Envelope object representing the intersection
of this Envelope with the specified Envelope.
createIntersection in class Envelopee - the Envelope that is intersected with this
Envelope
Envelope contained in both the
specified Envelope and in this Envelope.public Envelope createUnion(Envelope e)
Envelope object representing the union of
this Envelope with the specified Envelope.
createUnion in class Enveloper - the Envelope to be combined with
this Envelope
Envelope containing both the
specified Envelope and this Envelope.public java.lang.String toString()
String representation of this
Envelope.
toString in class java.lang.ObjectString representing this Envelope.
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||