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.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Pair<MultipolygonBuilder.JoinedPolygon,MultipolygonBuilder.JoinedPolygon>,Geometry.PolygonIntersection> |
MultipolygonBuilder.IntersectionMatrix.results |
Modifier and Type | Method and Description |
---|---|
(package private) Geometry.PolygonIntersection |
MultipolygonBuilder.IntersectionMatrix.computeIfAbsent(MultipolygonBuilder.JoinedPolygon a1,
MultipolygonBuilder.JoinedPolygon a2,
java.util.function.Supplier<Geometry.PolygonIntersection> computation)
Returns the precomputed intersection between two polygons if known.
|
private static Geometry.PolygonIntersection |
MultipolygonBuilder.IntersectionMatrix.getReverseIntersectionResult(Geometry.PolygonIntersection intersection)
Compute the reverse result of the intersection test done by
Geometry.polygonIntersection(Area a1, Area a2) |
Modifier and Type | Method and Description |
---|---|
private static Geometry.PolygonIntersection |
MultipolygonBuilder.IntersectionMatrix.getReverseIntersectionResult(Geometry.PolygonIntersection intersection)
Compute the reverse result of the intersection test done by
Geometry.polygonIntersection(Area a1, Area a2) |
Modifier and Type | Method and Description |
---|---|
(package private) Geometry.PolygonIntersection |
MultipolygonBuilder.IntersectionMatrix.computeIfAbsent(MultipolygonBuilder.JoinedPolygon a1,
MultipolygonBuilder.JoinedPolygon a2,
java.util.function.Supplier<Geometry.PolygonIntersection> computation)
Returns the precomputed intersection between two polygons if known.
|
Modifier and Type | Method and Description |
---|---|
static Geometry.PolygonIntersection |
Geometry.polygonIntersection(java.awt.geom.Area a1,
java.awt.geom.Area a2)
Tests if two polygons intersect.
|
static Geometry.PolygonIntersection |
Geometry.polygonIntersection(java.awt.geom.Area a1,
java.awt.geom.Area a2,
double eps)
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.
|
static Geometry.PolygonIntersection |
Geometry.PolygonIntersection.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Geometry.PolygonIntersection[] |
Geometry.PolygonIntersection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|