com.bbn.openmap.layer.link.shape
Class ESRILinkPolygonRecord

java.lang.Object
  |
  +--com.bbn.openmap.layer.shape.ShapeUtils
        |
        +--com.bbn.openmap.layer.shape.ESRIRecord
              |
              +--com.bbn.openmap.layer.shape.ESRIPolygonRecord
                    |
                    +--com.bbn.openmap.layer.link.shape.ESRILinkPolygonRecord
All Implemented Interfaces:
ESRILinkRecord, ShapeConstants

public class ESRILinkPolygonRecord
extends ESRIPolygonRecord
implements ESRILinkRecord


Field Summary
 
Fields inherited from class com.bbn.openmap.layer.shape.ESRIPolygonRecord
bounds, polygons, shapeType
 
Fields inherited from class com.bbn.openmap.layer.shape.ESRIRecord
contentLength, recordNumber
 
Fields inherited from interface com.bbn.openmap.dataAccess.shape.ShapeConstants
DBF_CHARACTER, DBF_DATE, DBF_LOGICAL, DBF_MEMO, DBF_NUMERIC, DBF_TYPE_CHARACTER, DBF_TYPE_DATE, DBF_TYPE_LOGICAL, DBF_TYPE_MEMO, DBF_TYPE_NUMERIC, PARAM_DBF, PARAM_SHP, PARAM_SHX, SHAPE_DBF_DASHPATTERN, SHAPE_DBF_DASHPHASE, SHAPE_DBF_DESCRIPTION, SHAPE_DBF_FILLCOLOR, SHAPE_DBF_LINECOLOR, SHAPE_DBF_LINEWIDTH, SHAPE_DBF_SELECTCOLOR, SHAPE_FILE_HEADER_LENGTH, SHAPE_FILE_RECORD_HEADER_LENGTH, SHAPE_TYPE_ARC, SHAPE_TYPE_MULTIPOINT, SHAPE_TYPE_NULL, SHAPE_TYPE_POINT, SHAPE_TYPE_POLYGON, SHAPE_TYPE_POLYLINE
 
Constructor Summary
ESRILinkPolygonRecord()
           
ESRILinkPolygonRecord(byte[] b, int off)
           
 
Method Summary
 void writeLinkGraphics(LinkGraphicList lgl, LinkProperties properties)
          Generates OMGraphics and adds them to the given list.
 
Methods inherited from class com.bbn.openmap.layer.shape.ESRIPolygonRecord
add, addOMGeometry, addOMGraphics, getBoundingBox, getRecordLength, getShapeType, isPolygon, setPolygon, write
 
Methods inherited from class com.bbn.openmap.layer.shape.ESRIRecord
getBinaryStoreSize, getContentLength, getRecordNumber
 
Methods inherited from class com.bbn.openmap.layer.shape.ShapeUtils
readBEInt, readBox, readLEDouble, readLEInt, readLEInt, readLELong, readPoint, writeBEInt, writeBox, writeLEDouble, writeLEInt, writeLELong, writePoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESRILinkPolygonRecord

public ESRILinkPolygonRecord()

ESRILinkPolygonRecord

public ESRILinkPolygonRecord(byte[] b,
                             int off)
                      throws java.io.IOException
Method Detail

writeLinkGraphics

public void writeLinkGraphics(LinkGraphicList lgl,
                              LinkProperties properties)
                       throws java.io.IOException
Generates OMGraphics and adds them to the given list.

Copy the poly points array because the OMPoly converts from degrees to radians in place, trashing the shape.

Specified by:
writeLinkGraphics in interface ESRILinkRecord
Parameters:
lgl - the graphics response to write the graphic to.
properties - the semantic description of how the graphic should be drawn.
java.io.IOException


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