com.partnersoft.v3x.io.formats.rover
Class RoverPolyline
java.lang.Object
com.partnersoft.v3x.io.formats.rover.RoverGraphic
com.partnersoft.v3x.io.formats.rover.RoverPolyline
- All Implemented Interfaces:
- RoverConstants, java.io.Serializable
public class RoverPolyline
- extends RoverGraphic
A structure representing a polyline in a rover file.
- See Also:
- Serialized Form
| Fields inherited from interface com.partnersoft.v3x.io.formats.rover.RoverConstants |
DRAW_JUSTIFIED_TEXT, DRAW_OFFSET_POINT, DRAW_OFFSET_TEXT, DRAW_POINT, DRAW_POLYGON, DRAW_POLYLINE, DRAW_TEXT, EOF, JUSTIFY_BASELINE_CENTER, JUSTIFY_BASELINE_LEFT, JUSTIFY_BASELINE_RIGHT, JUSTIFY_NOTSPECIFIED, OPCODE_TYPE_BOUNDARY, SIZE_DRAW_JUSTIFIED_TEXT_PREAMBLE, SIZE_DRAW_OFFSET_POINT, SIZE_DRAW_OFFSET_TEXT_CONCLUSION, SIZE_DRAW_OFFSET_TEXT_PREAMBLE, SIZE_DRAW_POINT, SIZE_DRAW_POLYLINE_PREAMBLE, SIZE_DRAW_TEXT_PREAMBLE, STYLE_REGION |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
polyline
public DoublePolyline polyline
RoverPolyline
public RoverPolyline()
RoverPolyline
public RoverPolyline(RoverLine line)
RoverPolyline
public RoverPolyline(int styleCode,
DoublePolyline polyline)
RoverPolyline
public RoverPolyline(int styleCode,
DoublePolyline polyline,
int dataType,
int dataID)
RoverPolyline
public RoverPolyline(int styleCode,
RoverPolyline polly,
int dataType,
int dataID)
subsection
public RoverPolyline subsection(int startSegment,
int endSegment)
- Returns a subsection of the polyline, based on two segment numbers. The
section will include both numbered segments, as well as all segments in
between.
extractSegment
public RoverLine extractSegment(int segmentNumber)
- Returns the numbered segment as a RoverLine.
getPolyline
public DoublePolyline getPolyline()
setPolyline
public void setPolyline(DoublePolyline newPolyline)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getX
public float getX()
- Specified by:
getX in class RoverGraphic
getY
public float getY()
- Specified by:
getY in class RoverGraphic