Class ParallelWays.ClosestPoint
java.lang.Object
org.openstreetmap.josm.actions.mapmode.ParallelWays.ClosestPoint
- Enclosing class:
- ParallelWays
The point of the source path closest to a given point, see
ParallelWays.closestPoint(EastNorth).- Since:
- 19624
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal EastNorththe closest point on the source pathfinal EastNorthend of the source segment the closest point lies onfinal EastNorthstart of the source segment the closest point lies onfinal doubledistance between the given point and the path; positive if the given point lies to the left of the path (in the direction of the reference way), i.e. -
Constructor Summary
ConstructorsConstructorDescriptionClosestPoint(EastNorth point, EastNorth segmentStart, EastNorth segmentEnd, double signedDistance) -
Method Summary
-
Field Details
-
point
the closest point on the source path -
segmentStart
start of the source segment the closest point lies on -
segmentEnd
end of the source segment the closest point lies on -
signedDistance
distance between the given point and the path; positive if the given point lies to the left of the path (in the direction of the reference way), i.e. the sign matches the offset ofParallelWays.changeOffset(double)
-
-
Constructor Details
-
ClosestPoint
ClosestPoint(EastNorth point, EastNorth segmentStart, EastNorth segmentEnd, double signedDistance)
-