public class DGNReader
extends java.lang.Object
| Constructor and Description |
|---|
DGNReader(java.lang.String pathFich) |
DGNReader(java.lang.String pathFich,
boolean logErrors) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
DGNDumpElement(DGNInfo psInfo,
DGNElemCore psElement)
Muestra por consola los elementos que contiene el DGN.
|
DGNLink |
DGNGetLinkage(DGNElemCore psElement,
java.lang.Integer index,
java.lang.Integer type,
java.lang.Integer entityCode,
java.lang.Integer mslink,
java.util.regex.Pattern data) |
int |
DGNGetLinkageCount(DGNElemCore psElement) |
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() |
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.
|
boolean |
is3D() |
java.util.Iterator |
linksiterator(DGNElemCore psElement) |
public DGNReader(java.lang.String pathFich)
throws DataException
DataExceptionpublic DGNReader(java.lang.String pathFich,
boolean logErrors)
throws DataException
DataExceptionpublic boolean is3D()
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 java.lang.String DGNDumpElement(DGNInfo psInfo, DGNElemCore psElement)
psInfo - Información del DGN.psElement - elementopublic DGNLink DGNGetLinkage(DGNElemCore psElement, java.lang.Integer index, java.lang.Integer type, java.lang.Integer entityCode, java.lang.Integer mslink, java.util.regex.Pattern data)
public java.util.Iterator linksiterator(DGNElemCore psElement)
public int DGNGetLinkageCount(DGNElemCore psElement)
public java.awt.Color DGNLookupColor(int color_index)
color_index - the color index to lookup.public int DGNGetShapeFillInfo(DGNElemCore psElem)
psElem - the element.