|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.graphics.displayelements.CurveWalker
class CurveWalker
Walks along a given curve and generates positions on the line string in regular intervals (i.e. a series of points on the line string with steps of the same distance).
Constructor Summary | |
---|---|
CurveWalker(java.awt.Rectangle roi)
Creates a new instance of CurveWalker . |
Method Summary | |
---|---|
(package private) java.util.ArrayList<double[]> |
createPositions(int[][] pos,
double width,
boolean polygon)
Determines positions on the given curve where a caption could be drawn. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
CurveWalker(java.awt.Rectangle roi)
CurveWalker
. The region of interest (where
positions are actually needed, because they are visible) is specified by the given
Rectangle
.
roi
- region of interest (visibile area)Method Detail |
---|
java.util.ArrayList<double[]> createPositions(int[][] pos, double width, boolean polygon)
pos
- width
- distance between single positionspolygon
- true if the positions denote a polygon
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org