|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.opengl.rendering.dem.texturing.TextureTileRequest
public class TextureTileRequest
Represents the request for a TextureTile
.
Constructor Summary | |
---|---|
TextureTileRequest(double minX,
double minY,
double maxX,
double maxY,
float metersPerPixel)
|
|
TextureTileRequest(TextureRequest request)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
double |
getMaxX()
|
double |
getMaxY()
|
double |
getMinX()
|
double |
getMinY()
|
float |
getUnitsPerPixel()
|
int |
hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. |
boolean |
isFullfilled(TextureTile candidate)
|
boolean |
isFullfilled(TextureTileRequest candidate,
double epsilon)
|
void |
merge(TextureTileRequest otherRequest)
Merge two requests. |
boolean |
shareCorner(TextureTileRequest that)
|
boolean |
shareCornerNE(TextureTileRequest that)
|
boolean |
shareCornerNW(TextureTileRequest that)
|
boolean |
shareCornerSE(TextureTileRequest that)
|
boolean |
shareCornerSW(TextureTileRequest that)
|
boolean |
supersedes(TextureTileRequest that)
Returns whether this TextureRequest supersedes another TextureRequest . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextureTileRequest(TextureRequest request)
request
- to copy the values from.public TextureTileRequest(double minX, double minY, double maxX, double maxY, float metersPerPixel)
minX
- minY
- maxX
- maxY
- metersPerPixel
- Method Detail |
---|
public boolean shareCorner(TextureTileRequest that)
that
-
public boolean shareCornerNW(TextureTileRequest that)
that
-
public boolean shareCornerNE(TextureTileRequest that)
that
-
public boolean shareCornerSW(TextureTileRequest that)
that
-
public boolean shareCornerSE(TextureTileRequest that)
that
-
public void merge(TextureTileRequest otherRequest)
otherRequest
- public double getMinX()
public double getMinY()
public double getMaxX()
public double getMaxY()
public float getUnitsPerPixel()
public int hashCode()
Combining the hash code(s) computed above: result = 37 * result + code;
hashCode
in class Object
Object.hashCode()
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
public boolean isFullfilled(TextureTile candidate)
candidate
-
public boolean supersedes(TextureTileRequest that)
TextureRequest
supersedes another TextureRequest
.
This is true iff:
that
-
public boolean isFullfilled(TextureTileRequest candidate, double epsilon)
candidate
- which values are taken into consideration.epsilon
- is used to determine the tolerance of the scale factor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |