Modifier and Type | Field and Description |
---|---|
private WaySegment |
ImproveWayAccuracyAction.candidateSegment |
(package private) WaySegment |
DeleteAction.DeleteParameters.nearestSegment |
private WaySegment |
DeleteAction.oldHighlightedWaySegment
elements that have been highlighted in the previous iteration.
|
private WaySegment |
ParallelWayAction.referenceSegment |
private WaySegment |
ExtrudeAction.selectedSegment |
Modifier and Type | Field and Description |
---|---|
private Collection<WaySegment> |
SelectAction.VirtualManager.virtualWays |
Modifier and Type | Method and Description |
---|---|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
Point p)
Returns the nearest way segment to cursor.
|
Modifier and Type | Method and Description |
---|---|
private void |
DeleteAction.repaintIfRequired(Set<OsmPrimitive> newHighlights,
WaySegment newHighlightedWaySegment) |
void |
DrawAction.SnapHelper.setBaseSegment(WaySegment seg) |
Modifier and Type | Method and Description |
---|---|
private void |
DrawAction.insertNodeIntoAllNearbySegments(List<WaySegment> wss,
Node n,
Collection<OsmPrimitive> newSelection,
Collection<Command> cmds,
List<Way> replacedWays,
List<Way> reuseWays) |
private void |
DrawAction.tryToMoveNodeOnIntersection(List<WaySegment> wss,
Node n) |
Modifier and Type | Method and Description |
---|---|
static Command |
DeleteCommand.deleteWaySegment(OsmDataLayer layer,
WaySegment ws) |
Modifier and Type | Field and Description |
---|---|
private Collection<WaySegment> |
DataSet.highlightedVirtualNodes |
private Collection<WaySegment> |
DataSet.highlightedWaySegments |
Modifier and Type | Method and Description |
---|---|
Collection<WaySegment> |
DataSet.getHighlightedVirtualNodes()
returns an unmodifiable collection of *WaySegments* whose virtual
nodes should be highlighted.
|
Collection<WaySegment> |
DataSet.getHighlightedWaySegments()
returns an unmodifiable collection of WaySegments that should be
highlighted.
|
Modifier and Type | Method and Description |
---|---|
int |
WaySegment.compareTo(WaySegment o) |
Modifier and Type | Method and Description |
---|---|
void |
DataSet.setHighlightedVirtualNodes(Collection<WaySegment> waySegments)
set what virtual nodes should be highlighted.
|
void |
DataSet.setHighlightedWaySegments(Collection<WaySegment> waySegments)
set what virtual ways should be highlighted.
|
Modifier and Type | Field and Description |
---|---|
private Collection<WaySegment> |
StyledMapRenderer.highlightWaySegments |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorVisitor.visit(WaySegment ws) |
void |
PaintVisitor.visit(WaySegment ws) |
Modifier and Type | Field and Description |
---|---|
private WaySegment |
CrossingWays.ExtendedSegment.ws |
Modifier and Type | Field and Description |
---|---|
private Set<WaySegment> |
CrossingWays.errorSegments
The already detected errors
|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
private Map<List<Way>,List<WaySegment>> |
CrossingWays.seenWays
The already detected ways in error
|
Constructor and Description |
---|
ExtendedSegment(WaySegment ws,
String layer,
String highway,
String railway,
boolean coastline,
String waterway,
String level)
Constructor
|
Modifier and Type | Method and Description |
---|---|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestWaySegment(Point, Predicate, boolean) . |
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected)
The *result* depends on the current map selection state IF use_selected is true.
|
WaySegment |
NavigatableComponent.getNearestWaySegment(Point p,
Predicate<OsmPrimitive> predicate,
boolean use_selected,
Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true.
|
Modifier and Type | Method and Description |
---|---|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
private Map<Double,List<WaySegment>> |
NavigatableComponent.getNearestWaySegmentsImpl(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Modifier and Type | Method and Description |
---|---|
List<WaySegment> |
NavigatableComponent.getNearestWaySegments(Point p,
Collection<WaySegment> ignore,
Predicate<OsmPrimitive> predicate)
The result *order* depends on the current map selection state.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidatorDialog.ValidatorBoundingXYVisitor.visit(WaySegment ws) |