|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.drivers.dgn.DGNReader
Clase dedicada a leer del fichero DGN.
Constructor Summary | |
DGNReader(java.lang.String pathFich)
Crea un nuevo DGNReader. |
Method Summary | |
void |
DGNDumpElement(DGNInfo psInfo,
DGNElemCore psElement,
java.lang.String fp)
Muestra por consola los elementos que contiene el DGN. |
double[] |
DGNGetRawExtents(DGNInfo info,
byte[] pabyRawData,
DGNElemCore elemento)
Devuelve los extent de una fila. |
int |
DGNGetShapeFillInfo(DGNElemCore psElem)
Fetch fill color for a shape. |
int |
DGNGotoElement(int element_id)
Seek to indicated element. |
java.awt.Color |
DGNLookupColor(int color_index)
Translate color index into RGB values. |
DGNElemCore |
DGNReadElement()
DOCUMENT ME! |
java.awt.geom.Rectangle2D |
getBoundingBox()
Devuelve el rectángulo del extent. |
DGNInfo |
getInfo()
Devuelve la información del DGN. |
int |
getNumEntities()
Devuelve el número de elementos. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DGNReader(java.lang.String pathFich)
pathFich
- DOCUMENT ME!Method Detail |
public DGNInfo getInfo()
public int getNumEntities()
public java.awt.geom.Rectangle2D getBoundingBox()
public int DGNGotoElement(int element_id)
element_id
- the element to seek to. These values are sequentially
ordered starting at zero for the first element.
public DGNElemCore DGNReadElement()
public double[] DGNGetRawExtents(DGNInfo info, byte[] pabyRawData, DGNElemCore elemento)
info
- Información del DGN.pabyRawData
- Vector de byte.elemento
- Elemento.
public void DGNDumpElement(DGNInfo psInfo, DGNElemCore psElement, java.lang.String fp)
psInfo
- Información del DGN.psElement
- elementofp
- path del fichero.public java.awt.Color DGNLookupColor(int color_index)
color_index
- the color index to lookup.
public int DGNGetShapeFillInfo(DGNElemCore psElem)
psElem
- the element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |