public class RoverPolyline extends RoverGraphic
| Modifier and Type | Field and Description |
|---|---|
DoubleBuffer |
coords |
graphicType, ID, x, yALIGN_BOTTOM_CENTER, ALIGN_BOTTOM_FIT, ALIGN_BOTTOM_LEFT, ALIGN_BOTTOM_RIGHT, ALIGN_CENTER, ALIGN_CENTER_LEFT, ALIGN_CENTER_RIGHT, ALIGN_CODE_CENTER, ALIGN_CODE_FIT, ALIGN_CODE_HIGH, ALIGN_CODE_LOW, ALIGN_FIT, ALIGN_FIT_LEFT, ALIGN_FIT_RIGHT, ALIGN_TOP_CENTER, ALIGN_TOP_FIT, ALIGN_TOP_LEFT, ALIGN_TOP_RIGHT, COMMENT, DATA_FIELDS_MAX, EOF, FLOAT_COORDS, GEOMETRY_TYPE_NAMES, HAS_DATA, HAS_OFFSET, HAS_ROTATION, IMAGE, LIST, LUMP_CODE_TYPE_AREA, LUMP_CODE_TYPE_IMAGE, LUMP_CODE_TYPE_LINE, LUMP_CODE_TYPE_POINT, LUMP_CODE_TYPE_TEXT, MASK_TYPECODE, NAMING, POINT, POINT_COLOR, POLYGON, POLYLINE, POP, PUSH, ROTATION_MULT, TEXEL_COORD_MAX, TEXT, TEXT_LONG, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE| Constructor and Description |
|---|
RoverPolyline() |
RoverPolyline(int graphicType,
long ID,
DoubleBuffer coords) |
RoverPolyline(int graphicType,
long ID,
XyPolyline polyline) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RoverPolyline> |
clippedTo(XyBounds bounds) |
boolean |
hasOffset() |
boolean |
hasRotation() |
boolean |
intersects(double x,
double y,
double width,
double height) |
boolean |
isChaff()
If true then this graphic can be chucked - it is invalid or trivial for
some reason.
|
int |
lumpCode()
This is an integer hash code that indicates both lumpability and sort
order.
|
RoverPolyline |
reduceDetail(double granularity) |
RoverPolyline |
reduceDetail2(double granularity) |
java.lang.String |
toString() |
calculateLumpCode, compareTo, hasDatapublic DoubleBuffer coords
public RoverPolyline()
public RoverPolyline(int graphicType,
long ID,
DoubleBuffer coords)
public RoverPolyline(int graphicType,
long ID,
XyPolyline polyline)
public RoverPolyline reduceDetail(double granularity)
public RoverPolyline reduceDetail2(double granularity)
public java.util.List<RoverPolyline> clippedTo(XyBounds bounds)
public boolean isChaff()
RoverGraphicisChaff in class RoverGraphicpublic int lumpCode()
RoverGraphiclumpCode in class RoverGraphicpublic boolean hasOffset()
hasOffset in class RoverGraphicpublic boolean hasRotation()
hasRotation in class RoverGraphicpublic boolean intersects(double x,
double y,
double width,
double height)
intersects in class RoverGraphicpublic java.lang.String toString()
toString in class java.lang.Object