public class MapDataPolyline extends MapDataGraphic
derivedALIGN_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 |
|---|
MapDataPolyline() |
MapDataPolyline(DoubleBuffer coords,
Naming data) |
MapDataPolyline(java.lang.String datatype,
java.lang.String graphicType,
DoubleBuffer coords,
Naming data) |
MapDataPolyline(java.lang.String datatype,
java.lang.String graphicType,
XyPolyline xyPolyline,
Naming data)
This constructor uses the more modern
com.partnersoft.geometry.xy.XyPolyline type.
|
MapDataPolyline(XyPoint... points) |
MapDataPolyline(XyPolyline polyline) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MapDataPolyline> |
clippedTo(XyBounds bounds) |
java.util.List<RoverShape> |
convertToShapes(int dataId,
RoverSet roverSet) |
void |
copyStateFrom(MapDataGraphic nother) |
boolean |
equals(java.lang.Object nother) |
Rectangle |
getExtents() |
java.lang.String |
getGeometryType()
The type of the graphic (e.g.
|
Polyline |
getPolyline()
The actual polyline graphic.
|
void |
pickleGraphic(ByteBuffer buffer) |
XyPoint |
pointNearest(double x,
double y,
double scale,
Style style) |
void |
setPolyline(Polyline argPolyline) |
void |
super_copyStateFrom(MapDataGraphic nother) |
java.lang.String |
toString() |
XyPolyline |
toXyPolyline() |
void |
unpickleGraphic(ByteBuffer buffer) |
clone, convertToEntity, getData, getDataType, getElectricalNode, getGraphicType, getIndexValues, getReducedData, isIndexed, isSelectable, pickleData, pickleObject, setData, setDataType, setElectricalNode, setGraphicType, setIndexed, setIndexValues, setReducedData, setSelectable, unpickleData, unpickleObjectpublic MapDataPolyline()
public MapDataPolyline(DoubleBuffer coords, Naming data)
public MapDataPolyline(java.lang.String datatype,
java.lang.String graphicType,
DoubleBuffer coords,
Naming data)
public MapDataPolyline(java.lang.String datatype,
java.lang.String graphicType,
XyPolyline xyPolyline,
Naming data)
datatype - graphicType - xyPolyline - data - public MapDataPolyline(XyPoint... points)
public MapDataPolyline(XyPolyline polyline)
public void pickleGraphic(ByteBuffer buffer)
pickleGraphic in class MapDataGraphicpublic void unpickleGraphic(ByteBuffer buffer)
unpickleGraphic in class MapDataGraphicpublic java.lang.String getGeometryType()
MapDataGraphicgetGeometryType in class MapDataGraphicpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic java.util.List<RoverShape> convertToShapes(int dataId, RoverSet roverSet)
convertToShapes in class MapDataGraphicpublic java.util.List<MapDataPolyline> clippedTo(XyBounds bounds)
public Polyline getPolyline()
public void setPolyline(Polyline argPolyline)
public void copyStateFrom(MapDataGraphic nother)
copyStateFrom in class MapDataGraphicpublic Rectangle getExtents()
getExtents in class MapDataGraphicpublic XyPolyline toXyPolyline()
public void super_copyStateFrom(MapDataGraphic nother)
public XyPoint pointNearest(double x, double y, double scale, Style style)
pointNearest in class MapDataGraphic