public class GeometryEnvelope extends Object
| Constructor and Description |
|---|
GeometryEnvelope()
Constructor
|
GeometryEnvelope(boolean hasZ,
boolean hasM)
Constructor
|
GeometryEnvelope(double minX,
double minY,
double maxX,
double maxY)
Constructor
|
GeometryEnvelope(double minX,
double minY,
Double minZ,
double maxX,
double maxY,
Double maxZ)
Constructor
|
GeometryEnvelope(double minX,
double minY,
Double minZ,
Double minM,
double maxX,
double maxY,
Double maxZ,
Double maxM)
Constructor
|
GeometryEnvelope(GeometryEnvelope envelope)
Copy Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(GeometryEnvelope envelope)
Determine if inclusively contains the provided envelope
|
GeometryEnvelope |
copy()
Copy the geometry envelope
|
boolean |
equals(Object obj) |
Double |
getMaxM()
Get max m
|
double |
getMaxX()
Get max x
|
double |
getMaxY()
Get max y
|
Double |
getMaxZ()
Get max z
|
Double |
getMinM()
Get min m
|
double |
getMinX()
Get min x
|
double |
getMinY()
Get min y
|
Double |
getMinZ()
Get min z
|
int |
hashCode() |
boolean |
hasM()
True if has M measurements
|
boolean |
hasZ()
True if has Z coordinates
|
boolean |
intersects(GeometryEnvelope envelope)
Determine if intersects with the provided envelope
|
boolean |
intersects(GeometryEnvelope envelope,
boolean allowEmpty)
Determine if intersects with the provided envelope
|
boolean |
is3D()
True if has Z coordinates
|
boolean |
isHasM()
Has m coordinates
|
boolean |
isHasZ()
Has z coordinates
|
boolean |
isMeasured()
True if has M measurements
|
GeometryEnvelope |
overlap(GeometryEnvelope envelope)
Get the overlapping geometry envelope with the provided envelope
|
GeometryEnvelope |
overlap(GeometryEnvelope envelope,
boolean allowEmpty)
Get the overlapping geometry envelope with the provided envelope
|
void |
setHasM(boolean hasM)
Set has m coordinates
|
void |
setHasZ(boolean hasZ)
Set has z coordinates
|
void |
setMaxM(Double maxM)
Set max m
|
void |
setMaxX(double maxX)
Set max x
|
void |
setMaxY(double maxY)
Set max y
|
void |
setMaxZ(Double maxZ)
Set max z
|
void |
setMinM(Double minM)
Set min m
|
void |
setMinX(double minX)
Set min x
|
void |
setMinY(double minY)
Set min y
|
void |
setMinZ(Double minZ)
Set min z
|
GeometryEnvelope |
union(GeometryEnvelope envelope)
Get the union geometry envelope combined with the provided envelope
|
public GeometryEnvelope()
public GeometryEnvelope(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic GeometryEnvelope(double minX,
double minY,
double maxX,
double maxY)
minX - min xminY - min ymaxX - max xmaxY - max ypublic GeometryEnvelope(double minX,
double minY,
Double minZ,
double maxX,
double maxY,
Double maxZ)
minX - min xminY - min yminZ - min zmaxX - max xmaxY - max ymaxZ - max zpublic GeometryEnvelope(double minX,
double minY,
Double minZ,
Double minM,
double maxX,
double maxY,
Double maxZ,
Double maxM)
minX - min xminY - min yminZ - min zminM - min mmaxX - max xmaxY - max ymaxZ - max zmaxM - max mpublic GeometryEnvelope(GeometryEnvelope envelope)
envelope - Envelope to copypublic boolean hasZ()
public boolean is3D()
hasZ()public boolean hasM()
public boolean isMeasured()
hasM()public double getMinX()
public void setMinX(double minX)
minX - min xpublic double getMaxX()
public void setMaxX(double maxX)
maxX - max xpublic double getMinY()
public void setMinY(double minY)
minY - min ypublic double getMaxY()
public void setMaxY(double maxY)
maxY - max ypublic boolean isHasZ()
public void setHasZ(boolean hasZ)
hasZ - has zpublic Double getMinZ()
public void setMinZ(Double minZ)
minZ - min zpublic Double getMaxZ()
public void setMaxZ(Double maxZ)
maxZ - max zpublic boolean isHasM()
public void setHasM(boolean hasM)
hasM - has mpublic Double getMinM()
public void setMinM(Double minM)
minM - min mpublic Double getMaxM()
public void setMaxM(Double maxM)
maxM - max mpublic boolean intersects(GeometryEnvelope envelope)
envelope - geometry envelopepublic boolean intersects(GeometryEnvelope envelope, boolean allowEmpty)
envelope - geometry envelopeallowEmpty - allow empty ranges when determining intersectionpublic GeometryEnvelope overlap(GeometryEnvelope envelope)
envelope - geometry envelopepublic GeometryEnvelope overlap(GeometryEnvelope envelope, boolean allowEmpty)
envelope - geometry envelopeallowEmpty - allow empty ranges when determining intersectionpublic GeometryEnvelope union(GeometryEnvelope envelope)
envelope - geometry envelopepublic boolean contains(GeometryEnvelope envelope)
envelope - geometry envelopepublic GeometryEnvelope copy()
Copyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.