com.bbn.openmap.omGraphics.geom
Class PolylineGeometry.LL

java.lang.Object
  extended by com.bbn.openmap.omGraphics.geom.BasicGeometry
      extended by com.bbn.openmap.omGraphics.geom.PolygonGeometry
          extended by com.bbn.openmap.omGraphics.geom.PolygonGeometry.LL
              extended by com.bbn.openmap.omGraphics.geom.PolylineGeometry.LL
All Implemented Interfaces:
OMGeometry, OMGraphicConstants, java.io.Serializable
Enclosing class:
PolylineGeometry

public static class PolylineGeometry.LL
extends PolygonGeometry.LL

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.geom.PolygonGeometry
PolygonGeometry.LL, PolygonGeometry.Offset, PolygonGeometry.XY
 
Field Summary
 
Fields inherited from class com.bbn.openmap.omGraphics.geom.PolygonGeometry.LL
nsegs, rawllpts
 
Fields inherited from class com.bbn.openmap.omGraphics.geom.PolygonGeometry
doShapes, isPolygon, xpoints, ypoints
 
Fields inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry
attributes, lineType, needToRegenerate, shape, visible
 
Fields inherited from interface com.bbn.openmap.omGraphics.OMGraphicConstants
ADD_GRAPHIC_MASK, APP_OBJECT, BASIC_STROKE, CHANGE_APPEARANCE, clear, DECIMAL_DEGREES, DECLUTTERTYPE_LINE, DECLUTTERTYPE_MOVE, DECLUTTERTYPE_NONE, DECLUTTERTYPE_SPACE, DEFAULT_ROTATIONANGLE, DELETE_GRAPHIC_MASK, DESELECT_GRAPHIC_MASK, DESELECTALL_GRAPHIC_MASK, GRAPHICTYPE_ARC, GRAPHICTYPE_BITMAP, GRAPHICTYPE_CIRCLE, GRAPHICTYPE_ELLIPSE, GRAPHICTYPE_GRAPHIC, GRAPHICTYPE_GRID, GRAPHICTYPE_LINE, GRAPHICTYPE_POINT, GRAPHICTYPE_POLY, GRAPHICTYPE_RASTER, GRAPHICTYPE_RECTANGLE, GRAPHICTYPE_TEXT, INDEX, INFOLINE, LABEL, LINETYPE_GREATCIRCLE, LINETYPE_RHUMB, LINETYPE_STRAIGHT, LINETYPE_UNKNOWN, LOWER_GRAPHIC_MASK, LOWER_TO_BOTTOM_GRAPHIC_MASK, NO_ROTATE, OMGRAPHIC_ELT, OMGRAPHIC_TYPE_ATTR, RADIANS, RAISE_GRAPHIC_MASK, RAISE_TO_TOP_GRAPHIC_MASK, REMOVABLE, RENDERTYPE_LATLON, RENDERTYPE_OFFSET, RENDERTYPE_UNKNOWN, RENDERTYPE_XY, SELECT_GRAPHIC_MASK, SORT_GRAPHICS_MASK, TOOLTIP, UPDATE_GRAPHIC_MASK, UPDATED
 
Constructor Summary
PolylineGeometry.LL(double[] llPoints, int units, int lType)
          Create an LL PolygonGeometry from a list of float lat/lon pairs.
PolylineGeometry.LL(double[] llPoints, int units, int lType, int nsegs)
          Create an OMPoly from a list of float lat/lon pairs.
 
Method Summary
 
Methods inherited from class com.bbn.openmap.omGraphics.geom.PolygonGeometry.LL
createShape, generate, getLatLonArray, getNumSegs, getRenderType, setLocation, setNumSegs
 
Methods inherited from class com.bbn.openmap.omGraphics.geom.PolygonGeometry
distance, getDoShapes, getIsPolygon, getShape, setDoShapes, setIsPolygon
 
Methods inherited from class com.bbn.openmap.omGraphics.geom.BasicGeometry
_distance, appendShapeEdge, appendShapeEdge, appendShapeEdge, appendShapeEdge, clearAttributes, contains, createAttributeMap, createBoxShape, createShape, createShape, describeShapeDetail, describeShapeDetail, deselect, distanceToEdge, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, isRenderable, isRenderable, isVisible, putAttribute, regenerate, removeAttribute, render, restore, select, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bbn.openmap.omGraphics.OMGeometry
clearAttributes, contains, deselect, distanceToEdge, draw, draw, fill, fill, getAppObject, getAttribute, getAttributes, getDescription, getLineType, getNeedToRegenerate, isRenderable, isRenderable, isVisible, putAttribute, regenerate, removeAttribute, render, restore, select, setAppObject, setAttributes, setLineType, setNeedToRegenerate, setShape, setVisible
 

Constructor Detail

PolylineGeometry.LL

public PolylineGeometry.LL(double[] llPoints,
                           int units,
                           int lType)
Create an LL PolygonGeometry from a list of float lat/lon pairs.

NOTES:

Parameters:
llPoints - array of lat/lon points, arranged lat, lon, lat, lon, etc.
units - radians or decimal degrees. Use OMGraphic.RADIANS or OMGraphic.DECIMAL_DEGREES
lType - line type, from a list defined in OMGraphic.

PolylineGeometry.LL

public PolylineGeometry.LL(double[] llPoints,
                           int units,
                           int lType,
                           int nsegs)
Create an OMPoly from a list of float lat/lon pairs.

NOTES:

Parameters:
llPoints - array of lat/lon points, arranged lat, lon, lat, lon, etc.
units - radians or decimal degrees. Use OMGraphic.RADIANS or OMGraphic.DECIMAL_DEGREES
lType - line type, from a list defined in OMGraphic.
nsegs - number of segment points (only for LINETYPE_GREATCIRCLE or LINETYPE_RHUMB line types, and if < 1, this value is generated internally)


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details