root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / drivers / dgn / DGNReader.html @ 11445
History | View | Annotate | Download (19.1 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:45:49 CET 2005 -->
|
6 |
<TITLE>
|
7 |
DGNReader (FMap API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.dgn.DGNReader class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="DGNReader (FMap API)"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNPoint.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNTagDef.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="DGNReader.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
com.iver.cit.gvsig.fmap.drivers.dgn</FONT>
|
85 |
<BR>
|
86 |
Class DGNReader</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.drivers.dgn.DGNReader</B> |
90 |
</PRE>
|
91 |
<HR>
|
92 |
<DL>
|
93 |
<DT>public class <B>DGNReader</B><DT>extends java.lang.Object</DL> |
94 |
|
95 |
<P>
|
96 |
Clase dedicada a leer del fichero DGN. |
97 |
<P>
|
98 |
|
99 |
<P>
|
100 |
<DL>
|
101 |
<DT><B>Author:</B></DT> |
102 |
<DD>FJP</DD> |
103 |
</DL>
|
104 |
<HR>
|
105 |
|
106 |
<P>
|
107 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
108 |
|
109 |
|
110 |
<!-- =========== FIELD SUMMARY =========== -->
|
111 |
|
112 |
|
113 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
114 |
|
115 |
<A NAME="constructor_summary"><!-- --></A> |
116 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
117 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
118 |
<TD COLSPAN=2><FONT SIZE="+2"> |
119 |
<B>Constructor Summary</B></FONT></TD> |
120 |
</TR>
|
121 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
122 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNReader(java.lang.String)">DGNReader</A></B>(java.lang.String pathFich)</CODE> |
123 |
|
124 |
<BR>
|
125 |
Crea un nuevo DGNReader.</TD> |
126 |
</TR>
|
127 |
</TABLE>
|
128 |
|
129 |
<!-- ========== METHOD SUMMARY =========== -->
|
130 |
|
131 |
<A NAME="method_summary"><!-- --></A> |
132 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
133 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
134 |
<TD COLSPAN=2><FONT SIZE="+2"> |
135 |
<B>Method Summary</B></FONT></TD> |
136 |
</TR>
|
137 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
138 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
139 |
<CODE> void</CODE></FONT></TD> |
140 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNDumpElement(com.iver.cit.gvsig.fmap.drivers.dgn.DGNInfo, com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore, java.lang.String)">DGNDumpElement</A></B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A> psInfo, |
141 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> psElement, |
142 |
java.lang.String fp)</CODE> |
143 |
|
144 |
<BR>
|
145 |
Muestra por consola los elementos que contiene el DGN.</TD> |
146 |
</TR>
|
147 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
148 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
149 |
<CODE> double[]</CODE></FONT></TD> |
150 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNGetRawExtents(com.iver.cit.gvsig.fmap.drivers.dgn.DGNInfo, byte[], com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore)">DGNGetRawExtents</A></B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A> info, |
151 |
byte[] pabyRawData,
|
152 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> elemento)</CODE> |
153 |
|
154 |
<BR>
|
155 |
Devuelve los extent de una fila.</TD> |
156 |
</TR>
|
157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
159 |
<CODE> int</CODE></FONT></TD> |
160 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNGetShapeFillInfo(com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore)">DGNGetShapeFillInfo</A></B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> psElem)</CODE> |
161 |
|
162 |
<BR>
|
163 |
Fetch fill color for a shape. </TD> |
164 |
</TR>
|
165 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
166 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
167 |
<CODE> int</CODE></FONT></TD> |
168 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNGotoElement(int)">DGNGotoElement</A></B>(int element_id)</CODE> |
169 |
|
170 |
<BR>
|
171 |
Seek to indicated element. </TD> |
172 |
</TR>
|
173 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
174 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
175 |
<CODE> java.awt.Color</CODE></FONT></TD> |
176 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNLookupColor(int)">DGNLookupColor</A></B>(int color_index)</CODE> |
177 |
|
178 |
<BR>
|
179 |
Translate color index into RGB values. </TD> |
180 |
</TR>
|
181 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
182 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
183 |
<CODE> <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A></CODE></FONT></TD> |
184 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#DGNReadElement()">DGNReadElement</A></B>()</CODE> |
185 |
|
186 |
<BR>
|
187 |
DOCUMENT ME!</TD> |
188 |
</TR>
|
189 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
190 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
191 |
<CODE> java.awt.geom.Rectangle2D</CODE></FONT></TD> |
192 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#getBoundingBox()">getBoundingBox</A></B>()</CODE> |
193 |
|
194 |
<BR>
|
195 |
Devuelve el rect?ngulo del extent.</TD> |
196 |
</TR>
|
197 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
198 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
199 |
<CODE> <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A></CODE></FONT></TD> |
200 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#getInfo()">getInfo</A></B>()</CODE> |
201 |
|
202 |
<BR>
|
203 |
Devuelve la informaci?n del DGN.</TD> |
204 |
</TR>
|
205 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
206 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
207 |
<CODE> int</CODE></FONT></TD> |
208 |
<TD><CODE><B><A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNReader.html#getNumEntities()">getNumEntities</A></B>()</CODE> |
209 |
|
210 |
<BR>
|
211 |
Devuelve el n?mero de elementos.</TD> |
212 |
</TR>
|
213 |
</TABLE>
|
214 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
215 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
216 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
217 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
218 |
</TR>
|
219 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
220 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
221 |
</TR>
|
222 |
</TABLE>
|
223 |
|
224 |
<P>
|
225 |
|
226 |
<!-- ============ FIELD DETAIL =========== -->
|
227 |
|
228 |
|
229 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
230 |
|
231 |
<A NAME="constructor_detail"><!-- --></A> |
232 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
233 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
234 |
<TD COLSPAN=1><FONT SIZE="+2"> |
235 |
<B>Constructor Detail</B></FONT></TD> |
236 |
</TR>
|
237 |
</TABLE>
|
238 |
|
239 |
<A NAME="DGNReader(java.lang.String)"><!-- --></A><H3> |
240 |
DGNReader</H3>
|
241 |
<PRE>
|
242 |
public <B>DGNReader</B>(java.lang.String pathFich)</PRE> |
243 |
<DL>
|
244 |
<DD>Crea un nuevo DGNReader.
|
245 |
<P>
|
246 |
<DT><B>Parameters:</B><DD><CODE>pathFich</CODE> - DOCUMENT ME!</DL> |
247 |
|
248 |
<!-- ============ METHOD DETAIL ========== -->
|
249 |
|
250 |
<A NAME="method_detail"><!-- --></A> |
251 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
252 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
253 |
<TD COLSPAN=1><FONT SIZE="+2"> |
254 |
<B>Method Detail</B></FONT></TD> |
255 |
</TR>
|
256 |
</TABLE>
|
257 |
|
258 |
<A NAME="getInfo()"><!-- --></A><H3> |
259 |
getInfo</H3>
|
260 |
<PRE>
|
261 |
public <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A> <B>getInfo</B>()</PRE> |
262 |
<DL>
|
263 |
<DD>Devuelve la informaci?n del DGN.
|
264 |
<P>
|
265 |
<DD><DL> |
266 |
|
267 |
<DT><B>Returns:</B><DD>DGNInfo Informaci?n.</DL> |
268 |
</DD>
|
269 |
</DL>
|
270 |
<HR>
|
271 |
|
272 |
<A NAME="getNumEntities()"><!-- --></A><H3> |
273 |
getNumEntities</H3>
|
274 |
<PRE>
|
275 |
public int <B>getNumEntities</B>()</PRE> |
276 |
<DL>
|
277 |
<DD>Devuelve el n?mero de elementos.
|
278 |
<P>
|
279 |
<DD><DL> |
280 |
|
281 |
<DT><B>Returns:</B><DD>N?mero de elementos.</DL> |
282 |
</DD>
|
283 |
</DL>
|
284 |
<HR>
|
285 |
|
286 |
<A NAME="getBoundingBox()"><!-- --></A><H3> |
287 |
getBoundingBox</H3>
|
288 |
<PRE>
|
289 |
public java.awt.geom.Rectangle2D <B>getBoundingBox</B>()</PRE> |
290 |
<DL>
|
291 |
<DD>Devuelve el rect?ngulo del extent.
|
292 |
<P>
|
293 |
<DD><DL> |
294 |
|
295 |
<DT><B>Returns:</B><DD>Rect?ngulo.</DL> |
296 |
</DD>
|
297 |
</DL>
|
298 |
<HR>
|
299 |
|
300 |
<A NAME="DGNGotoElement(int)"><!-- --></A><H3> |
301 |
DGNGotoElement</H3>
|
302 |
<PRE>
|
303 |
public int <B>DGNGotoElement</B>(int element_id)</PRE> |
304 |
<DL>
|
305 |
<DD>Seek to indicated element. Changes what element will be read on the next
|
306 |
call to DGNReadElement(). Note that this function requires and index, |
307 |
and one will be built if not already available. |
308 |
<P>
|
309 |
<DD><DL> |
310 |
<DT><B>Parameters:</B><DD><CODE>element_id</CODE> - the element to seek to. These values are sequentially |
311 |
ordered starting at zero for the first element. |
312 |
<DT><B>Returns:</B><DD>returns TRUE on success or FALSE on failure.</DL> |
313 |
</DD>
|
314 |
</DL>
|
315 |
<HR>
|
316 |
|
317 |
<A NAME="DGNReadElement()"><!-- --></A><H3> |
318 |
DGNReadElement</H3>
|
319 |
<PRE>
|
320 |
public <A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> <B>DGNReadElement</B>()</PRE> |
321 |
<DL>
|
322 |
<DD>DOCUMENT ME!
|
323 |
<P>
|
324 |
<DD><DL> |
325 |
|
326 |
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL> |
327 |
</DD>
|
328 |
</DL>
|
329 |
<HR>
|
330 |
|
331 |
<A NAME="DGNGetRawExtents(com.iver.cit.gvsig.fmap.drivers.dgn.DGNInfo, byte[], com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore)"><!-- --></A><H3> |
332 |
DGNGetRawExtents</H3>
|
333 |
<PRE>
|
334 |
public double[] <B>DGNGetRawExtents</B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A> info, |
335 |
byte[] pabyRawData,
|
336 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> elemento)</PRE> |
337 |
<DL>
|
338 |
<DD>Devuelve los extent de una fila.
|
339 |
<P>
|
340 |
<DD><DL> |
341 |
<DT><B>Parameters:</B><DD><CODE>info</CODE> - Informaci?n del DGN.<DD><CODE>pabyRawData</CODE> - Vector de byte.<DD><CODE>elemento</CODE> - Elemento. |
342 |
<DT><B>Returns:</B><DD>Vector de double.</DL> |
343 |
</DD>
|
344 |
</DL>
|
345 |
<HR>
|
346 |
|
347 |
<A NAME="DGNDumpElement(com.iver.cit.gvsig.fmap.drivers.dgn.DGNInfo, com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore, java.lang.String)"><!-- --></A><H3> |
348 |
DGNDumpElement</H3>
|
349 |
<PRE>
|
350 |
public void <B>DGNDumpElement</B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNInfo.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNInfo</A> psInfo, |
351 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> psElement, |
352 |
java.lang.String fp)</PRE> |
353 |
<DL>
|
354 |
<DD>Muestra por consola los elementos que contiene el DGN.
|
355 |
<P>
|
356 |
<DD><DL> |
357 |
<DT><B>Parameters:</B><DD><CODE>psInfo</CODE> - Informaci?n del DGN.<DD><CODE>psElement</CODE> - elemento<DD><CODE>fp</CODE> - path del fichero.</DL> |
358 |
</DD>
|
359 |
</DL>
|
360 |
<HR>
|
361 |
|
362 |
<A NAME="DGNLookupColor(int)"><!-- --></A><H3> |
363 |
DGNLookupColor</H3>
|
364 |
<PRE>
|
365 |
public java.awt.Color <B>DGNLookupColor</B>(int color_index)</PRE> |
366 |
<DL>
|
367 |
<DD>Translate color index into RGB values. If no color table has yet been
|
368 |
encountered in the file a hard-coded "default" color table will be |
369 |
used. This seems to be what Microstation uses as a color table when |
370 |
there isn't one in a DGN file but I am not absolutely convinced it is |
371 |
appropriate. |
372 |
<P>
|
373 |
<DD><DL> |
374 |
<DT><B>Parameters:</B><DD><CODE>color_index</CODE> - the color index to lookup. |
375 |
<DT><B>Returns:</B><DD>TRUE on success or FALSE on failure. May fail if color_index is |
376 |
out of range.</DL>
|
377 |
</DD>
|
378 |
</DL>
|
379 |
<HR>
|
380 |
|
381 |
<A NAME="DGNGetShapeFillInfo(com.iver.cit.gvsig.fmap.drivers.dgn.DGNElemCore)"><!-- --></A><H3> |
382 |
DGNGetShapeFillInfo</H3>
|
383 |
<PRE>
|
384 |
public int <B>DGNGetShapeFillInfo</B>(<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNElemCore.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn">DGNElemCore</A> psElem)</PRE> |
385 |
<DL>
|
386 |
<DD>Fetch fill color for a shape. This method will check for a 0x0041 user
|
387 |
attribute linkaged with fill color information for the element. If |
388 |
found the function returns TRUE, and places the fill color in pnColor, |
389 |
otherwise FALSE is returned and pnColor is not updated. |
390 |
<P>
|
391 |
<DD><DL> |
392 |
<DT><B>Parameters:</B><DD><CODE>psElem</CODE> - the element. |
393 |
<DT><B>Returns:</B><DD>index of color on success or -1 on failure.</DL> |
394 |
</DD>
|
395 |
</DL>
|
396 |
<!-- ========= END OF CLASS DATA ========= -->
|
397 |
<HR>
|
398 |
|
399 |
|
400 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
401 |
<A NAME="navbar_bottom"><!-- --></A> |
402 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
403 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
404 |
<TR>
|
405 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
406 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
407 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
408 |
<TR ALIGN="center" VALIGN="top"> |
409 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
410 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
411 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
412 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
413 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
414 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
415 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
416 |
</TR>
|
417 |
</TABLE>
|
418 |
</TD>
|
419 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
420 |
</EM>
|
421 |
</TD>
|
422 |
</TR>
|
423 |
|
424 |
<TR>
|
425 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
426 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNPoint.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><B>PREV CLASS</B></A> |
427 |
<A HREF="../../../../../../../com/iver/cit/gvsig/fmap/drivers/dgn/DGNTagDef.html" title="class in com.iver.cit.gvsig.fmap.drivers.dgn"><B>NEXT CLASS</B></A></FONT></TD> |
428 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
429 |
<A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
430 |
<A HREF="DGNReader.html" target="_top"><B>NO FRAMES</B></A> |
431 |
<SCRIPT type="text/javascript"> |
432 |
<!--
|
433 |
if(window==top) {
|
434 |
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
435 |
}
|
436 |
//-->
|
437 |
</SCRIPT>
|
438 |
<NOSCRIPT>
|
439 |
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
440 |
</NOSCRIPT>
|
441 |
|
442 |
</FONT></TD> |
443 |
</TR>
|
444 |
<TR>
|
445 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
446 |
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
447 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
448 |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
449 |
</TR>
|
450 |
</TABLE>
|
451 |
<A NAME="skip-navbar_bottom"></A> |
452 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
453 |
|
454 |
<HR>
|
455 |
|
456 |
</BODY>
|
457 |
</HTML>
|