Changeset 10829 in josm
- Timestamp:
- 2016-08-17T23:52:22+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r10827 r10829 102 102 * @param projection The projection to use. 103 103 * @return The projected east/north coordinates 104 * @since 1082 6104 * @since 10827 105 105 */ 106 106 public EastNorth getEastNorth(Projection projection) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRenderer.java
r10827 r10829 98 98 * @param orderNumber The number of the segment in the way. 99 99 * @param clr The color to use for drawing the text. 100 * @since 1082 6100 * @since 10827 101 101 */ 102 102 protected void drawOrderNumber(MapViewPoint p1, MapViewPoint p2, int orderNumber, Color clr) { … … 194 194 * @param space The free space to check against. 195 195 * @return <code>true</code> if segment is larger than required space 196 * @since 1082 6196 * @since 10827 197 197 */ 198 198 public static boolean isLargeSegment(MapViewPoint p1, MapViewPoint p2, int space) { … … 206 206 * @param p2 Second point of the way segment. 207 207 * @return <code>true</code> if segment may be visible. 208 * @since 1082 6208 * @since 10827 209 209 */ 210 210 protected boolean isSegmentVisible(MapViewPoint p1, MapViewPoint p2) { … … 219 219 * @param path The path to append drawing to. 220 220 * @param w The ways to draw node for. 221 * @since 1082 6221 * @since 10827 222 222 */ 223 223 public void visitVirtual(Path2D path, Way w) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/ArrowPaintHelper.java
r10827 r10829 8 8 * This class helps with painting arrows with fixed length along a path. 9 9 * @author Michael Zangl 10 * @since 1082 610 * @since 10827 11 11 */ 12 12 public class ArrowPaintHelper { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/LineClip.java
r10827 r10829 24 24 * @param p2 end point of the clipped line 25 25 * @param clipBounds Clip bounds 26 * @since 1082 626 * @since 10827 27 27 */ 28 28 public LineClip(Point2D p1, Point2D p2, Rectangle2D clipBounds) { … … 46 46 /** 47 47 * @return start point of the clipped line 48 * @since 1082 648 * @since 10827 49 49 */ 50 50 public Point2D getP1() { … … 54 54 /** 55 55 * @return end point of the clipped line 56 * @since 1082 656 * @since 10827 57 57 */ 58 58 public Point2D getP2() { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPath2D.java
r10827 r10829 9 9 * An extension of {@link Path2D} with special methods for map positions. 10 10 * @author Michael Zangl 11 * @since 1082 611 * @since 10827 12 12 */ 13 13 public class MapPath2D extends Path2D.Double { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/WireframeMapRenderer.java
r10827 r10829 410 410 * @param mv2 Second point of the way segment. 411 411 * @param showDirection <code>true</code> if segment direction should be indicated 412 * @since 1082 6412 * @since 10827 413 413 */ 414 414 protected void drawSegment(MapPath2D path, MapViewPoint mv1, MapViewPoint mv2, boolean showDirection) { … … 431 431 * @param col The color to use for drawing line. 432 432 * @param showDirection <code>true</code> if segment direction should be indicated. 433 * @since 1082 6433 * @since 10827 434 434 */ 435 435 protected void drawSegment(MapViewPoint p1, MapViewPoint p2, Color col, boolean showDirection) { -
trunk/src/org/openstreetmap/josm/data/projection/Projection.java
r10827 r10829 107 107 * Gets the object used as cache identifier when caching results of this projection. 108 108 * @return The object to use as cache key 109 * @since 1082 6109 * @since 10827 110 110 */ 111 111 default Object getCacheKey() { -
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r10827 r10829 33 33 /** 34 34 * A flag indicating that the point is outside to the top of the map view. 35 * @since 1082 635 * @since 10827 36 36 */ 37 37 public static final int OUTSIDE_TOP = 1; … … 39 39 /** 40 40 * A flag indicating that the point is outside to the bottom of the map view. 41 * @since 1082 641 * @since 10827 42 42 */ 43 43 public static final int OUTSIDE_BOTTOM = 2; … … 45 45 /** 46 46 * A flag indicating that the point is outside to the left of the map view. 47 * @since 1082 647 * @since 10827 48 48 */ 49 49 public static final int OUTSIDE_LEFT = 3; … … 51 51 /** 52 52 * A flag indicating that the point is outside to the right of the map view. 53 * @since 1082 653 * @since 10827 54 54 */ 55 55 public static final int OUTSIDE_RIGHT = 4; … … 186 186 * @param node The node 187 187 * @return The position of that node. 188 * @since 1082 6188 * @since 10827 189 189 */ 190 190 public MapViewPoint getPointFor(Node node) { … … 204 204 * @param rectangle The rectangle to get. 205 205 * @return The view area. 206 * @since 1082 6206 * @since 10827 207 207 */ 208 208 public MapViewRectangle getViewArea(Rectangle2D rectangle) { … … 369 369 * Get the x coordinate in view space without creating an intermediate object. 370 370 * @return The x coordinate 371 * @since 1082 6371 * @since 10827 372 372 */ 373 373 public abstract double getInViewX(); … … 376 376 * Get the y coordinate in view space without creating an intermediate object. 377 377 * @return The y coordinate 378 * @since 1082 6378 * @since 10827 379 379 */ 380 380 public abstract double getInViewY(); … … 450 450 * This is the case iff <code>getOutsideRectangleFlags(getViewArea())</code> returns no flags 451 451 * @return true if it is. 452 * @since 1082 6452 * @since 10827 453 453 */ 454 454 public boolean isInView() { … … 464 464 * @param rect The rectangle to check agains. 465 465 * @return The direction in which it is outside of the view, as OUTSIDE_... flags. 466 * @since 1082 6466 * @since 10827 467 467 */ 468 468 public int getOutsideRectangleFlags(MapViewRectangle rect) { … … 487 487 * @param p2 The other point 488 488 * @return The norm 489 * @since 1082 6489 * @since 10827 490 490 */ 491 491 public double oneNormInView(MapViewPoint p2) { … … 497 497 * @param p2 The other point 498 498 * @return The squared distance. 499 * @since 1082 6499 * @since 10827 500 500 */ 501 501 public double distanceToInViewSq(MapViewPoint p2) { … … 509 509 * @param p2 The other point 510 510 * @return The distance. 511 * @since 1082 6511 * @since 10827 512 512 */ 513 513 public double distanceToInView(MapViewPoint p2) { … … 636 636 * Check if the rectangle intersects the map view area. 637 637 * @return <code>true</code> if it intersects. 638 * @since 1082 6638 * @since 10827 639 639 */ 640 640 public boolean isInView() { -
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/Symbol.java
r10827 r10829 14 14 /** 15 15 * The definition of a symbol that should be rendered at the node position. 16 * @since 1082 6Extracted from {@link NodeElement}16 * @since 10827 Extracted from {@link NodeElement} 17 17 */ 18 18 public class Symbol {
Note:
See TracChangeset
for help on using the changeset viewer.