|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.actions.OrthogonalizeAction.WayData
private static class OrthogonalizeAction.WayData
Class contains everything we need to know about a singe way.
Field Summary | |
---|---|
double |
heading
|
int |
nNode
|
int |
nSeg
|
OrthogonalizeAction.Direction[] |
segDirections
|
EastNorth |
segSum
|
Way |
way
|
Constructor Summary | |
---|---|
OrthogonalizeAction.WayData(Way pWay)
|
Method Summary | |
---|---|
void |
calcDirections(OrthogonalizeAction.Direction pInitialDirection)
Estimate the direction of the segments, given the first segment points in the direction pInitialDirection . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Way way
public final int nSeg
public final int nNode
public OrthogonalizeAction.Direction[] segDirections
public EastNorth segSum
public double heading
Constructor Detail |
---|
public OrthogonalizeAction.WayData(Way pWay)
Method Detail |
---|
public void calcDirections(OrthogonalizeAction.Direction pInitialDirection) throws OrthogonalizeAction.InvalidUserInputException
pInitialDirection
.
Then sum up all horizontal / vertical segments to have a good guess for the
heading of the entire way.
OrthogonalizeAction.InvalidUserInputException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |