public class EdgeTable extends PrimitiveTable
covtable, idColumn, tile
byteorder, columnInfo, documentationFileName, filename, ID_COLUMN_NAME, inputFile, MSBFirst, recordLength, tableDescription, tablename, vli
Constructor and Description |
---|
EdgeTable(CoverageTable cov,
TileDirectory tile)
Construct an EdgeTable object for a tile of a coverage.
|
Modifier and Type | Method and Description |
---|---|
OMGraphic |
drawFeature(VPFFeatureWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2,
java.util.List<java.lang.Object> edge,
java.lang.String featureType,
int primID)
Use the warehouse to create a graphic from the edge feature, if you
already have the line from the edgetable.
|
void |
drawTile(VPFGraphicWarehouse warehouse,
double dpplat,
double dpplon,
LatLonPoint ll1,
LatLonPoint ll2)
Parse the edge records for this tile, calling warehouse.createEdge once
for each record.
|
CoordFloatString |
getCoordinates(java.util.List<java.lang.Object> l)
Get the value of the coordinates column
|
CoverageTable |
getCoverageTable()
get the coverage table that this edge is in
|
int |
getEndNode(java.util.List<java.lang.Object> l)
Get the value of the end_node column
|
int |
getID(java.util.List<java.lang.Number> l)
Get the value of the ID column
|
TilingAdapter |
getLeftEdgeTilingAdapter()
Get the TilingAdapter for the left_edge column
|
TilingAdapter |
getLeftFaceTilingAdapter()
Get the TilingAdapter for the left_face column
|
TilingAdapter |
getRightEdgeTilingAdapter()
Get the TilingAdapter for the right_edge column
|
TilingAdapter |
getRightFaceTilingAdapter()
Get the TilingAdapter for the right_face column
|
int |
getStartNode(java.util.List<java.lang.Object> l)
Get the value of the start_node column
|
int |
topologyLevel()
get the topology level of the edge table
|
getTileDirectory
close, finalize, finishInitialization, getColumnCount, getColumnInfo, getColumnName, getDescription, getDocumentationFilename, getRecordCount, getRecordLength, getRow, getRow, getTableFile, getTableName, getTilingAdapter, getTilingAdapter, getTilingAdapter, lookupSchema, lookupSchema, main, parseAllRowsAndPrintSome, parseRow, parseRow, parseSomeRowsAndPrint, printSchema, reopen, seekToRow, whatColumn
public EdgeTable(CoverageTable cov, TileDirectory tile) throws FormatException
cov
- the coverage table that this tile is part oftile
- the tile to parseFormatException
- a problem was encountered initializing this tilepublic final int getID(java.util.List<java.lang.Number> l)
getID
in class PrimitiveTable
l
- the list to retrieve the value frompublic final int getStartNode(java.util.List<java.lang.Object> l)
l
- the list to retrieve the value frompublic final int getEndNode(java.util.List<java.lang.Object> l)
l
- the list to retrieve the value frompublic final TilingAdapter getRightFaceTilingAdapter()
public final TilingAdapter getLeftFaceTilingAdapter()
public final TilingAdapter getRightEdgeTilingAdapter()
public final TilingAdapter getLeftEdgeTilingAdapter()
public final CoordFloatString getCoordinates(java.util.List<java.lang.Object> l)
l
- the list to retrieve the value frompublic int topologyLevel()
public CoverageTable getCoverageTable()
getCoverageTable
in class PrimitiveTable
public void drawTile(VPFGraphicWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2)
drawTile
in class PrimitiveTable
warehouse
- the warehouse used for createEdge calls (must not be
null)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)VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List<java.lang.Object>, com.bbn.openmap.proj.coords.LatLonPoint, com.bbn.openmap.proj.coords.LatLonPoint, double, double, com.bbn.openmap.layer.vpf.CoordFloatString)
public OMGraphic drawFeature(VPFFeatureWarehouse warehouse, double dpplat, double dpplon, LatLonPoint ll1, LatLonPoint ll2, java.util.List<java.lang.Object> edge, java.lang.String featureType, int primID)
drawFeature
in class PrimitiveTable
warehouse
- the warehouse used for createEdge calls (must not be
null)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)edge
- list containing the EdgeTable row contents.featureType
- the name of the feature. The warehouse may want to do
some intelligent rendering.primID
- the primitive ID of the feature, in order to gather attributes if
necessary.VPFGraphicWarehouse.createEdge(com.bbn.openmap.layer.vpf.CoverageTable, com.bbn.openmap.layer.vpf.EdgeTable, java.util.List<java.lang.Object>, com.bbn.openmap.proj.coords.LatLonPoint, com.bbn.openmap.proj.coords.LatLonPoint, double, double, com.bbn.openmap.layer.vpf.CoordFloatString)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details