Package | Description |
---|---|
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.visitor |
Provides the classes for performing actions on OSM primitives using Visitor design pattern.
|
org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IWay<N extends INode>
|
interface |
OsmData<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>>
Abstraction of
DataSet . |
class |
QuadBucketPrimitiveStore<N extends INode,W extends IWay<N>,R extends IRelation<?>>
Stores primitives in quad buckets.
|
Modifier and Type | Class and Description |
---|---|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData
The data on a single node (tags and position) that is stored in the database
|
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<INode> |
DefaultNameFormatter.nodeComparator |
Modifier and Type | Method and Description |
---|---|
java.util.Comparator<INode> |
NameFormatter.getNodeComparator()
Gets a comparator that sorts the nodes by the string that this formatter would create for them
|
java.util.Comparator<INode> |
DefaultNameFormatter.getNodeComparator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NameFormatterHook.checkFormat(INode node,
java.lang.String defaultName)
Check the node format.
|
java.lang.String |
NameFormatter.format(INode node)
Formats a name for a
INode . |
java.lang.String |
DefaultNameFormatter.format(INode node) |
boolean |
Way.isFirstLastNode(INode n) |
boolean |
WayData.isFirstLastNode(INode n) |
boolean |
IWay.isFirstLastNode(INode n)
Replies true if the given node is the first or the last one of this way, false otherwise.
|
boolean |
Way.isInnerNode(INode n) |
boolean |
WayData.isInnerNode(INode n) |
boolean |
IWay.isInnerNode(INode n)
Replies true if the given node is an inner node of this way, false otherwise.
|
Constructor and Description |
---|
BBox(INode n)
Create BBox for a node.
|
Modifier and Type | Method and Description |
---|---|
void |
PrimitiveVisitor.visit(INode n)
Visiting call for nodes.
|
void |
BoundingXYVisitor.visit(INode n) |
Modifier and Type | Method and Description |
---|---|
void |
ComputeStyleListWorker.add(INode osm,
int flags)
Add new style records for the given node.
|
void |
StyledMapRenderer.drawBoxText(INode n,
BoxTextElement bs)
Draw a text onto a node
|
void |
StyledMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill) |
void |
WireframeMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill) |
abstract void |
AbstractMapRenderer.drawNode(INode n,
java.awt.Color color,
int size,
boolean fill)
Draw the node as small square with the given color.
|
void |
StyledMapRenderer.drawNodeIcon(INode n,
MapImage img,
boolean disabled,
boolean selected,
boolean member,
double theta)
Draw the icon for a given node.
|
void |
StyledMapRenderer.drawNodeSymbol(INode n,
Symbol s,
java.awt.Color fillColor,
java.awt.Color strokeColor)
Draw the symbol and possibly a highlight marking on a given node.
|
void |
StyledMapRenderer.drawOrderNumber(INode n1,
INode n2,
int orderNumber,
java.awt.Color clr)
Draw a number of the order of the two consecutive nodes within the
parents way
|
private static boolean |
WireframeMapRenderer.isNodeTagged(INode n) |
void |
WireframeMapRenderer.visit(INode n)
Draw a small rectangle.
|
void |
ComputeStyleListWorker.visit(INode n) |
Modifier and Type | Method and Description |
---|---|
private static void |
StyledMapRenderer.buildPFClip(java.awt.geom.Path2D.Double clip,
java.util.List<? extends INode> nodes,
double extent)
Fix the clipping area of unclosed polygons for partial fill.
|
Constructor and Description |
---|
OffsetIterator(MapViewState mapState,
java.util.List<? extends INode> nodes,
double offset)
Creates a new offset iterator
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
InspectPrimitiveDataText.addCoordinates(INode n) |
Modifier and Type | Method and Description |
---|---|
void |
Selector.ChildOrParentSelector.MatchingReferrerFinder.visit(INode n) |
void |
Selector.ChildOrParentSelector.AbstractFinder.visit(INode n) |
Modifier and Type | Method and Description |
---|---|
private void |
NodeElement.paintWithSymbol(MapPaintSettings settings,
StyledMapRenderer painter,
boolean selected,
boolean member,
INode n) |
Modifier and Type | Method and Description |
---|---|
void |
OsmWriter.visit(INode n) |
Modifier and Type | Method and Description |
---|---|
static <N extends INode> |
Geometry.angleIsClockwise(N commonNode,
N firstNode,
N secondNode)
This method tests if secondNode is clockwise to first node.
|
static <N extends INode> |
Geometry.isToTheRightSideOfLine(N lineP1,
N lineP2,
N lineP3,
N testPoint)
Tests if given point is to the right side of path consisting of 3 points.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Geometry.isNodeInsideMultiPolygon(INode node,
Relation multiPolygon,
java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if the
node is inside the multipolygon multiPolygon . |
static boolean |
Geometry.nodeInsidePolygon(INode point,
java.util.List<? extends INode> polygonNodes)
Tests if point is inside a polygon.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Area |
Geometry.getArea(java.util.List<? extends INode> polygon)
Returns the Area of a polygon, from its list of nodes.
|
static EastNorth |
Geometry.getCenter(java.util.List<? extends INode> nodes)
Compute center of the circle closest to different nodes.
|
static EastNorth |
Geometry.getCentroid(java.util.List<? extends INode> nodes)
Compute the centroid/barycenter of nodes
|
static boolean |
Geometry.isClockwise(java.util.List<? extends INode> nodes)
Determines whether path from nodes list is oriented clockwise.
|
static boolean |
Geometry.isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes,
Pair<java.util.List<MultipolygonBuilder.JoinedPolygon>,java.util.List<MultipolygonBuilder.JoinedPolygon>> outerInner,
java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed by
nodes is inside the multipolygon multiPolygon . |
static boolean |
Geometry.isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes,
Relation multiPolygon,
java.util.function.Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed by
nodes is inside the multipolygon multiPolygon . |
static boolean |
Geometry.nodeInsidePolygon(INode point,
java.util.List<? extends INode> polygonNodes)
Tests if point is inside a polygon.
|
static Geometry.PolygonIntersection |
Geometry.polygonIntersection(java.util.List<? extends INode> first,
java.util.List<? extends INode> second)
Tests if two polygons intersect.
|
static Geometry.PolygonIntersection |
Geometry.polygonIntersection(java.util.List<? extends INode> first,
java.util.List<? extends INode> second)
Tests if two polygons intersect.
|