## com.bbn.openmap.layer.vpf
Interface VPFGraphicWarehouse

All Superinterfaces:
  VPFWarehouse

All Known Implementing Classes:
  LayerGraphicWarehouseSupport

public interface VPFGraphicWarehouse
extends VPFWarehouse

Define an interface for a Graphic Factory for graphics read from VPF.

Method Summary
`void` `createArea(CoverageTable c, AreaTable a, java.util.List l, LatLonPoint ll1, LatLonPoint ll2, float dpplat, float dpplon)` Method called by the VPF reader code to construct an area feature.
`void` `createEdge(CoverageTable c, EdgeTable e, java.util.List l, LatLonPoint ll1, LatLonPoint ll2, float dpplat, float dpplon, CoordFloatString coords)` Method called by the VPF reader code to construct an edge feature.
`void` `createNode(CoverageTable c, NodeTable t, java.util.List nodeprim, float latitude, float longitude, boolean isEntityNode)` Method called by the VPF reader code to construct a node feature.
`void` `createText(CoverageTable c, TextTable t, java.util.List textprim, float latitude, float longitude, java.lang.String text)` Method called by the VPF reader code to construct a text feature.

Methods inherited from interface com.bbn.openmap.layer.vpf.VPFWarehouse
`drawAreaFeatures, drawCPointFeatures, drawEdgeFeatures, drawEPointFeatures, drawTextFeatures, getFeatures, getGUI, getUseLibrary, resetForCAT, setUseLibrary`

Method Detail

### createArea

    public void createArea(CoverageTable c,
                           AreaTable a,
                           java.util.List l,
                           LatLonPoint ll1,
                           LatLonPoint ll2,
                           float dpplat,
                           float dpplon)

  Method called by the VPF reader code to construct an area feature.

  Parameters:
    `c` - the coverage table for this area
    `a` - the areatable being parsed
    `l` - the record read from the area table
    `dpplat` - threshold for latitude thinning (passed to warehouse)
    `dpplon` - threshold for longitude thinngin (passed to warehouse)
    `ll1` - upperleft of selection region (passed to warehouse)
    `ll2` - lowerright of selection region (passed to warehouse)

### createEdge

    public void createEdge(CoverageTable c,
                           EdgeTable e,
                           java.util.List l,
                           LatLonPoint ll1,
                           LatLonPoint ll2,
                           float dpplat,
                           float dpplon,
                           CoordFloatString coords)

  Method called by the VPF reader code to construct an edge feature.

  Parameters:
    `c` - the coverage table for this edge
    `e` - the edgetable being parsed
    `l` - the record read from the edge table
    `dpplat` - threshold for latitude thinning (passed to warehouse)
    `dpplon` - threshold for longitude thinngin (passed to warehouse)
    `ll1` - upperleft of selection region (passed to warehouse)
    `ll2` - lowerright of selection region (passed to warehouse)

### createText

    public void createText(CoverageTable c,
                           TextTable t,
                           java.util.List textprim,
                           float latitude,
                           float longitude,
                           java.lang.String text)

  Method called by the VPF reader code to construct a text feature.

  Parameters:
    `c` - the coverage table for this text
    `t` - the texttable being parsed
    `textprim` - the record read from the text table
    `latitude` - the latitude of the text
    `longitude` - the longitude of the text
    `text` - the text string

### createNode

    public void createNode(CoverageTable c,
                           NodeTable t,
                           java.util.List nodeprim,
                           float latitude,
                           float longitude,
                           boolean isEntityNode)

  Method called by the VPF reader code to construct a node feature.

  Parameters:
    `c` - the coverage table for this node
    `t` - the nodetable being parsed
    `nodeprim` - the record read from the node table
    `latitude` - the latitude of the node
    `longitude` - the longitude of the node
    `isEntityNode` - true if we are reading entity notes, false if we are reading connected nodes

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