Class PowerLines.SegmentInfo
java.lang.Object
org.openstreetmap.josm.data.validation.tests.PowerLines.SegmentInfo
- Enclosing class:
- PowerLines
Helper class for reference numbering test. Used for storing continuous reference segment info.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PowerLines.NumberingDirectionSegment directionprivate final intSegment lengthprivate final intNode index, follows way directionprivate final intref=* value atstartIndex -
Constructor Summary
ConstructorsConstructorDescriptionSegmentInfo(int startIndex, int length, int ref, PowerLines.NumberingDirection direction) -
Method Summary
-
Field Details
-
startIndex
Node index, follows way direction -
startRef
ref=* value atstartIndex -
length
Segment length -
direction
Segment direction
-
-
Constructor Details
-
SegmentInfo
SegmentInfo(int startIndex, int length, int ref, PowerLines.NumberingDirection direction)
-
-
Method Details