|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wts.Splitter
class for calculating and splitting a views footprint into boxes and/or stripes
Field Summary | |
private double |
heightOverGround
|
private double |
observerHeight
|
private WTSGetViewRequest |
request
|
private ViewPoint |
vp
|
Constructor Summary | |
(package private) |
Splitter(WTSGetViewRequest request,
ViewPoint vp)
Creates a new instance of MakeStripes |
Method Summary | |
private double |
calcDist(double height,
double dir)
|
private Point3d[] |
calcFootprint(double height,
double b1,
double b2)
calculates footprint |
private void |
handleWCSResponse(WCSGetCoverageResponse response)
|
(package private) GM_Surface[] |
makeBoxes(GM_Surface stripe,
int count)
tiles a stripe into count boxes |
GM_Surface[] |
makeStripes(int count)
tiles the footprint trapez into count pralell stripes with an identical view angle from the viewers position |
void |
write(java.lang.Object result)
will be called by to WCService with the response to determine the observers height above ground |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ViewPoint vp
private WTSGetViewRequest request
private double heightOverGround
private double observerHeight
Constructor Detail |
Splitter(WTSGetViewRequest request, ViewPoint vp) throws java.lang.Exception
Method Detail |
public void write(java.lang.Object result)
write
in interface OGCWebServiceClient
private void handleWCSResponse(WCSGetCoverageResponse response) throws java.lang.Exception
response
-
java.lang.Exception
public GM_Surface[] makeStripes(int count) throws InvalidArcException, GM_Exception, java.lang.Exception
InvalidArcException
GM_Exception
java.lang.Exception
private Point3d[] calcFootprint(double height, double b1, double b2)
private double calcDist(double height, double dir)
height
- dir
-
GM_Surface[] makeBoxes(GM_Surface stripe, int count) throws GM_Exception
GM_Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |