root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / core / IGeometry.html @ 11445
History | View | Annotate | Download (25.8 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:47 CET 2005 -->
|
6 |
<TITLE>
|
7 |
IGeometry (FMap API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.core.IGeometry interface"> |
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="IGeometry (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/core/FShape.html" title="interface in com.iver.cit.gvsig.fmap.core"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/WritableShape.html" title="interface in com.iver.cit.gvsig.fmap.core"><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="IGeometry.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <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.core</FONT>
|
85 |
<BR>
|
86 |
Interface IGeometry</H2>
|
87 |
<DL>
|
88 |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FGeometry.html" title="class in com.iver.cit.gvsig.fmap.core">FGeometry</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FGeometryCollection.html" title="class in com.iver.cit.gvsig.fmap.core">FGeometryCollection</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FMultiPoint2D.html" title="class in com.iver.cit.gvsig.fmap.core">FMultiPoint2D</A>, <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FNullGeometry.html" title="class in com.iver.cit.gvsig.fmap.core">FNullGeometry</A></DD> |
89 |
</DL>
|
90 |
<HR>
|
91 |
<DL>
|
92 |
<DT>public interface <B>IGeometry</B></DL> |
93 |
|
94 |
<P>
|
95 |
Interfaz de Geometr?a. |
96 |
<P>
|
97 |
|
98 |
<P>
|
99 |
<DL>
|
100 |
<DT><B>Author:</B></DT> |
101 |
<DD>$author$</DD> |
102 |
</DL>
|
103 |
<HR>
|
104 |
|
105 |
<P>
|
106 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
107 |
|
108 |
|
109 |
<!-- =========== FIELD SUMMARY =========== -->
|
110 |
|
111 |
<A NAME="field_summary"><!-- --></A> |
112 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
113 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
114 |
<TD COLSPAN=2><FONT SIZE="+2"> |
115 |
<B>Field Summary</B></FONT></TD> |
116 |
</TR>
|
117 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
118 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
119 |
<CODE>static int</CODE></FONT></TD> |
120 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#BEST">BEST</A></B></CODE> |
121 |
|
122 |
<BR>
|
123 |
</TD> |
124 |
</TR>
|
125 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
126 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
127 |
<CODE>static int</CODE></FONT></TD> |
128 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#E">E</A></B></CODE> |
129 |
|
130 |
<BR>
|
131 |
</TD> |
132 |
</TR>
|
133 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
134 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
135 |
<CODE>static int</CODE></FONT></TD> |
136 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#N">N</A></B></CODE> |
137 |
|
138 |
<BR>
|
139 |
</TD> |
140 |
</TR>
|
141 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
142 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
143 |
<CODE>static int</CODE></FONT></TD> |
144 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#NE">NE</A></B></CODE> |
145 |
|
146 |
<BR>
|
147 |
</TD> |
148 |
</TR>
|
149 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
150 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
151 |
<CODE>static int</CODE></FONT></TD> |
152 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#NW">NW</A></B></CODE> |
153 |
|
154 |
<BR>
|
155 |
</TD> |
156 |
</TR>
|
157 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
158 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
159 |
<CODE>static int</CODE></FONT></TD> |
160 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#S">S</A></B></CODE> |
161 |
|
162 |
<BR>
|
163 |
</TD> |
164 |
</TR>
|
165 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
166 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
167 |
<CODE>static int</CODE></FONT></TD> |
168 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#SE">SE</A></B></CODE> |
169 |
|
170 |
<BR>
|
171 |
</TD> |
172 |
</TR>
|
173 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
174 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
175 |
<CODE>static <A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FStyledShapePainter.html" title="class in com.iver.cit.gvsig.fmap.rendering">FStyledShapePainter</A></CODE></FONT></TD> |
176 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#shpPainter">shpPainter</A></B></CODE> |
177 |
|
178 |
<BR>
|
179 |
</TD> |
180 |
</TR>
|
181 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
182 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
183 |
<CODE>static int</CODE></FONT></TD> |
184 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#SW">SW</A></B></CODE> |
185 |
|
186 |
<BR>
|
187 |
</TD> |
188 |
</TR>
|
189 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
190 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
191 |
<CODE>static int</CODE></FONT></TD> |
192 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#W">W</A></B></CODE> |
193 |
|
194 |
<BR>
|
195 |
</TD> |
196 |
</TR>
|
197 |
</TABLE>
|
198 |
|
199 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
200 |
|
201 |
|
202 |
<!-- ========== METHOD SUMMARY =========== -->
|
203 |
|
204 |
<A NAME="method_summary"><!-- --></A> |
205 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
206 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
207 |
<TD COLSPAN=2><FONT SIZE="+2"> |
208 |
<B>Method Summary</B></FONT></TD> |
209 |
</TR>
|
210 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
211 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
212 |
<CODE> <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A></CODE></FONT></TD> |
213 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#cloneGeometry()">cloneGeometry</A></B>()</CODE> |
214 |
|
215 |
<BR>
|
216 |
Clona la Geometr?a.</TD> |
217 |
</TR>
|
218 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
219 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
220 |
<CODE> <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/v02/FLabel.html" title="class in com.iver.cit.gvsig.fmap.core.v02">FLabel</A>[]</CODE></FONT></TD> |
221 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#createLabels(int, boolean)">createLabels</A></B>(int position, |
222 |
boolean duplicates)</CODE> |
223 |
|
224 |
<BR>
|
225 |
Obtiene las posiciones donde se debe situar la etiqueta para esta |
226 |
IGeometry. </TD>
|
227 |
</TR>
|
228 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
229 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
230 |
<CODE> void</CODE></FONT></TD> |
231 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D)">draw</A></B>(java.awt.Graphics2D g, |
232 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A> vp, |
233 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/styling/FStyle2D.html" title="class in com.iver.cit.gvsig.fmap.rendering.styling">FStyle2D</A> symbol)</CODE> |
234 |
|
235 |
<BR>
|
236 |
Dibujar? esta Shape en el Graphics con el s?mbolo que se pasa como |
237 |
par?metro y despues de aplicarle la transformaci?n que se pasa tambi?n |
238 |
como par?metro. </TD>
|
239 |
</TR>
|
240 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
241 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
242 |
<CODE> void</CODE></FONT></TD> |
243 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)">draw</A></B>(java.awt.Graphics2D g, |
244 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A> vp, |
245 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/v02/FSymbol.html" title="class in com.iver.cit.gvsig.fmap.core.v02">FSymbol</A> symbol)</CODE> |
246 |
|
247 |
<BR>
|
248 |
Dibuja la geometr?a sobre el Graphics2D que se pasa como par?metro.</TD> |
249 |
</TR>
|
250 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
251 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
252 |
<CODE> boolean</CODE></FONT></TD> |
253 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#fastIntersects(double, double, double, double)">fastIntersects</A></B>(double x, |
254 |
double y,
|
255 |
double w,
|
256 |
double h)</CODE> |
257 |
|
258 |
<BR>
|
259 |
Se usa en las strategies de dibujo para comprobar de manera r?pida |
260 |
si intersecta con el rect?ngulo visible</TD>
|
261 |
</TR>
|
262 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
263 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
264 |
<CODE> java.awt.geom.Rectangle2D</CODE></FONT></TD> |
265 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#getBounds2D()">getBounds2D</A></B>()</CODE> |
266 |
|
267 |
<BR>
|
268 |
Devuelve el Rect?ngulo que ocupa la geometr?a.</TD> |
269 |
</TR>
|
270 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
271 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
272 |
<CODE> <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class in com.iver.cit.gvsig.fmap.core">GeneralPathXIterator</A></CODE></FONT></TD> |
273 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#getGeneralPathXIterator()">getGeneralPathXIterator</A></B>()</CODE> |
274 |
|
275 |
<BR>
|
276 |
Devuelve el GeneralPathXIterator con la informaci?n relativa a la geometr?a.</TD> |
277 |
</TR>
|
278 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
279 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
280 |
<CODE> int</CODE></FONT></TD> |
281 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#getGeometryType()">getGeometryType</A></B>()</CODE> |
282 |
|
283 |
<BR>
|
284 |
Obtiene el tipo de la geometr?a</TD> |
285 |
</TR>
|
286 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
287 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
288 |
<CODE> boolean</CODE></FONT></TD> |
289 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#intersects(java.awt.geom.Rectangle2D)">intersects</A></B>(java.awt.geom.Rectangle2D r)</CODE> |
290 |
|
291 |
<BR>
|
292 |
Devuelve true si la geometr?a intersecta con el rect?ngulo que se pasa |
293 |
como par?metro.</TD>
|
294 |
</TR>
|
295 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
296 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
297 |
<CODE> void</CODE></FONT></TD> |
298 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#reProject(ICoordTrans)">reProject</A></B>(ICoordTrans ct)</CODE> |
299 |
|
300 |
<BR>
|
301 |
Reproyecta la geometr?a a partir de las coordenadas de transformaci?n.</TD> |
302 |
</TR>
|
303 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
304 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
305 |
<CODE> Geometry</CODE></FONT></TD> |
306 |
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html#toJTSGeometry()">toJTSGeometry</A></B>()</CODE> |
307 |
|
308 |
<BR>
|
309 |
Transforma esta Shape en un Geometry de JTS</TD> |
310 |
</TR>
|
311 |
</TABLE>
|
312 |
|
313 |
<P>
|
314 |
|
315 |
<!-- ============ FIELD DETAIL =========== -->
|
316 |
|
317 |
<A NAME="field_detail"><!-- --></A> |
318 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
319 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
320 |
<TD COLSPAN=1><FONT SIZE="+2"> |
321 |
<B>Field Detail</B></FONT></TD> |
322 |
</TR>
|
323 |
</TABLE>
|
324 |
|
325 |
<A NAME="BEST"><!-- --></A><H3> |
326 |
BEST</H3>
|
327 |
<PRE>
|
328 |
public static final int <B>BEST</B></PRE> |
329 |
<DL>
|
330 |
<DL>
|
331 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.BEST">Constant Field Values</A></DL> |
332 |
</DL>
|
333 |
<HR>
|
334 |
|
335 |
<A NAME="N"><!-- --></A><H3> |
336 |
N</H3>
|
337 |
<PRE>
|
338 |
public static final int <B>N</B></PRE> |
339 |
<DL>
|
340 |
<DL>
|
341 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.N">Constant Field Values</A></DL> |
342 |
</DL>
|
343 |
<HR>
|
344 |
|
345 |
<A NAME="NE"><!-- --></A><H3> |
346 |
NE</H3>
|
347 |
<PRE>
|
348 |
public static final int <B>NE</B></PRE> |
349 |
<DL>
|
350 |
<DL>
|
351 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.NE">Constant Field Values</A></DL> |
352 |
</DL>
|
353 |
<HR>
|
354 |
|
355 |
<A NAME="E"><!-- --></A><H3> |
356 |
E</H3>
|
357 |
<PRE>
|
358 |
public static final int <B>E</B></PRE> |
359 |
<DL>
|
360 |
<DL>
|
361 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.E">Constant Field Values</A></DL> |
362 |
</DL>
|
363 |
<HR>
|
364 |
|
365 |
<A NAME="SE"><!-- --></A><H3> |
366 |
SE</H3>
|
367 |
<PRE>
|
368 |
public static final int <B>SE</B></PRE> |
369 |
<DL>
|
370 |
<DL>
|
371 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.SE">Constant Field Values</A></DL> |
372 |
</DL>
|
373 |
<HR>
|
374 |
|
375 |
<A NAME="S"><!-- --></A><H3> |
376 |
S</H3>
|
377 |
<PRE>
|
378 |
public static final int <B>S</B></PRE> |
379 |
<DL>
|
380 |
<DL>
|
381 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.S">Constant Field Values</A></DL> |
382 |
</DL>
|
383 |
<HR>
|
384 |
|
385 |
<A NAME="SW"><!-- --></A><H3> |
386 |
SW</H3>
|
387 |
<PRE>
|
388 |
public static final int <B>SW</B></PRE> |
389 |
<DL>
|
390 |
<DL>
|
391 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.SW">Constant Field Values</A></DL> |
392 |
</DL>
|
393 |
<HR>
|
394 |
|
395 |
<A NAME="W"><!-- --></A><H3> |
396 |
W</H3>
|
397 |
<PRE>
|
398 |
public static final int <B>W</B></PRE> |
399 |
<DL>
|
400 |
<DL>
|
401 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.W">Constant Field Values</A></DL> |
402 |
</DL>
|
403 |
<HR>
|
404 |
|
405 |
<A NAME="NW"><!-- --></A><H3> |
406 |
NW</H3>
|
407 |
<PRE>
|
408 |
public static final int <B>NW</B></PRE> |
409 |
<DL>
|
410 |
<DL>
|
411 |
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.IGeometry.NW">Constant Field Values</A></DL> |
412 |
</DL>
|
413 |
<HR>
|
414 |
|
415 |
<A NAME="shpPainter"><!-- --></A><H3> |
416 |
shpPainter</H3>
|
417 |
<PRE>
|
418 |
public static final <A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/FStyledShapePainter.html" title="class in com.iver.cit.gvsig.fmap.rendering">FStyledShapePainter</A> <B>shpPainter</B></PRE> |
419 |
<DL>
|
420 |
<DL>
|
421 |
</DL>
|
422 |
</DL>
|
423 |
|
424 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
425 |
|
426 |
|
427 |
<!-- ============ METHOD DETAIL ========== -->
|
428 |
|
429 |
<A NAME="method_detail"><!-- --></A> |
430 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
431 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
432 |
<TD COLSPAN=1><FONT SIZE="+2"> |
433 |
<B>Method Detail</B></FONT></TD> |
434 |
</TR>
|
435 |
</TABLE>
|
436 |
|
437 |
<A NAME="draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.rendering.styling.FStyle2D)"><!-- --></A><H3> |
438 |
draw</H3>
|
439 |
<PRE>
|
440 |
public void <B>draw</B>(java.awt.Graphics2D g, |
441 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A> vp, |
442 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/rendering/styling/FStyle2D.html" title="class in com.iver.cit.gvsig.fmap.rendering.styling">FStyle2D</A> symbol)</PRE> |
443 |
<DL>
|
444 |
<DD>Dibujar? esta Shape en el Graphics con el s?mbolo que se pasa como
|
445 |
par?metro y despues de aplicarle la transformaci?n que se pasa tambi?n |
446 |
como par?metro. El parametro image que recibe es la imagen de la cual |
447 |
se obtuvo el graphics que tambi?n se pasa como par?metro. Dibujar? la |
448 |
geometria en caso de que la IGeometry intersecte o est? contenida en el |
449 |
rect?ngulo que se pasa como par?metro |
450 |
<P>
|
451 |
<DD><DL> |
452 |
<DT><B>Parameters:</B><DD><CODE>g</CODE> - DOCUMENT ME!<DD><CODE>vp</CODE> - TODO<DD><CODE>symbol</CODE> - DOCUMENT ME!</DL> |
453 |
</DD>
|
454 |
</DL>
|
455 |
<HR>
|
456 |
|
457 |
<A NAME="draw(java.awt.Graphics2D, com.iver.cit.gvsig.fmap.ViewPort, com.iver.cit.gvsig.fmap.core.v02.FSymbol)"><!-- --></A><H3> |
458 |
draw</H3>
|
459 |
<PRE>
|
460 |
public void <B>draw</B>(java.awt.Graphics2D g, |
461 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/ViewPort.html" title="class in com.iver.cit.gvsig.fmap">ViewPort</A> vp, |
462 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/v02/FSymbol.html" title="class in com.iver.cit.gvsig.fmap.core.v02">FSymbol</A> symbol)</PRE> |
463 |
<DL>
|
464 |
<DD>Dibuja la geometr?a sobre el Graphics2D que se pasa como par?metro.
|
465 |
<P>
|
466 |
<DD><DL> |
467 |
<DT><B>Parameters:</B><DD><CODE>g</CODE> - Graphics2D.<DD><CODE>vp</CODE> - ViewPort.<DD><CODE>symbol</CODE> - S?mbolo.</DL> |
468 |
</DD>
|
469 |
</DL>
|
470 |
<HR>
|
471 |
|
472 |
<A NAME="toJTSGeometry()"><!-- --></A><H3> |
473 |
toJTSGeometry</H3>
|
474 |
<PRE>
|
475 |
public Geometry <B>toJTSGeometry</B>()</PRE> |
476 |
<DL>
|
477 |
<DD>Transforma esta Shape en un Geometry de JTS
|
478 |
<P>
|
479 |
<DD><DL> |
480 |
|
481 |
<DT><B>Returns:</B><DD>Geometr?a.</DL> |
482 |
</DD>
|
483 |
</DL>
|
484 |
<HR>
|
485 |
|
486 |
<A NAME="createLabels(int, boolean)"><!-- --></A><H3> |
487 |
createLabels</H3>
|
488 |
<PRE>
|
489 |
public <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/v02/FLabel.html" title="class in com.iver.cit.gvsig.fmap.core.v02">FLabel</A>[] <B>createLabels</B>(int position, |
490 |
boolean duplicates)</PRE> |
491 |
<DL>
|
492 |
<DD>Obtiene las posiciones donde se debe situar la etiqueta para esta
|
493 |
IGeometry. Es un array porque si una geometria es un multipunto por |
494 |
ejemplo puede quererse etiquetar todos sus puntos. El par?metro que se |
495 |
pasa indica como debe de colocar la geometria la etiqueta |
496 |
<P>
|
497 |
<DD><DL> |
498 |
<DT><B>Parameters:</B><DD><CODE>position</CODE> - DOCUMENT ME!<DD><CODE>duplicates</CODE> - DOCUMENT ME! |
499 |
<DT><B>Returns:</B><DD>DOCUMENT ME!</DL> |
500 |
</DD>
|
501 |
</DL>
|
502 |
<HR>
|
503 |
|
504 |
<A NAME="getGeometryType()"><!-- --></A><H3> |
505 |
getGeometryType</H3>
|
506 |
<PRE>
|
507 |
public int <B>getGeometryType</B>()</PRE> |
508 |
<DL>
|
509 |
<DD>Obtiene el tipo de la geometr?a
|
510 |
<P>
|
511 |
<DD><DL> |
512 |
|
513 |
<DT><B>Returns:</B><DD>una de las constantes de FShape: POINT, LINE, POLIGON</DL> |
514 |
</DD>
|
515 |
</DL>
|
516 |
<HR>
|
517 |
|
518 |
<A NAME="cloneGeometry()"><!-- --></A><H3> |
519 |
cloneGeometry</H3>
|
520 |
<PRE>
|
521 |
public <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> <B>cloneGeometry</B>()</PRE> |
522 |
<DL>
|
523 |
<DD>Clona la Geometr?a.
|
524 |
<P>
|
525 |
<DD><DL> |
526 |
|
527 |
<DT><B>Returns:</B><DD>Geometr?a clonada.</DL> |
528 |
</DD>
|
529 |
</DL>
|
530 |
<HR>
|
531 |
|
532 |
<A NAME="intersects(java.awt.geom.Rectangle2D)"><!-- --></A><H3> |
533 |
intersects</H3>
|
534 |
<PRE>
|
535 |
public boolean <B>intersects</B>(java.awt.geom.Rectangle2D r)</PRE> |
536 |
<DL>
|
537 |
<DD>Devuelve true si la geometr?a intersecta con el rect?ngulo que se pasa
|
538 |
como par?metro. |
539 |
<P>
|
540 |
<DD><DL> |
541 |
<DT><B>Parameters:</B><DD><CODE>r</CODE> - Rect?ngulo. |
542 |
<DT><B>Returns:</B><DD>True, si intersecta.</DL> |
543 |
</DD>
|
544 |
</DL>
|
545 |
<HR>
|
546 |
|
547 |
<A NAME="fastIntersects(double, double, double, double)"><!-- --></A><H3> |
548 |
fastIntersects</H3>
|
549 |
<PRE>
|
550 |
public boolean <B>fastIntersects</B>(double x, |
551 |
double y,
|
552 |
double w,
|
553 |
double h)</PRE> |
554 |
<DL>
|
555 |
<DD>Se usa en las strategies de dibujo para comprobar de manera r?pida
|
556 |
si intersecta con el rect?ngulo visible |
557 |
<P>
|
558 |
<DD><DL> |
559 |
<DT><B>Parameters:</B><DD><CODE>x</CODE> - <DD><CODE>y</CODE> - <DD><CODE>w</CODE> - <DD><CODE>h</CODE> - |
560 |
<DT><B>Returns:</B><DD></DL> |
561 |
</DD>
|
562 |
</DL>
|
563 |
<HR>
|
564 |
|
565 |
<A NAME="getBounds2D()"><!-- --></A><H3> |
566 |
getBounds2D</H3>
|
567 |
<PRE>
|
568 |
public java.awt.geom.Rectangle2D <B>getBounds2D</B>()</PRE> |
569 |
<DL>
|
570 |
<DD>Devuelve el Rect?ngulo que ocupa la geometr?a.
|
571 |
<P>
|
572 |
<DD><DL> |
573 |
|
574 |
<DT><B>Returns:</B><DD>Rect?ngulo.</DL> |
575 |
</DD>
|
576 |
</DL>
|
577 |
<HR>
|
578 |
|
579 |
<A NAME="reProject(ICoordTrans)"><!-- --></A><H3> |
580 |
reProject</H3>
|
581 |
<PRE>
|
582 |
public void <B>reProject</B>(ICoordTrans ct)</PRE> |
583 |
<DL>
|
584 |
<DD>Reproyecta la geometr?a a partir de las coordenadas de transformaci?n.
|
585 |
<P>
|
586 |
<DD><DL> |
587 |
<DT><B>Parameters:</B><DD><CODE>ct</CODE> - Coordenadas de transformaci?n.</DL> |
588 |
</DD>
|
589 |
</DL>
|
590 |
<HR>
|
591 |
|
592 |
<A NAME="getGeneralPathXIterator()"><!-- --></A><H3> |
593 |
getGeneralPathXIterator</H3>
|
594 |
<PRE>
|
595 |
public <A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class in com.iver.cit.gvsig.fmap.core">GeneralPathXIterator</A> <B>getGeneralPathXIterator</B>()</PRE> |
596 |
<DL>
|
597 |
<DD>Devuelve el GeneralPathXIterator con la informaci?n relativa a la geometr?a.
|
598 |
<P>
|
599 |
<DD><DL> |
600 |
|
601 |
<DT><B>Returns:</B><DD>GeneralPathXIterator.</DL> |
602 |
</DD>
|
603 |
</DL>
|
604 |
<!-- ========= END OF CLASS DATA ========= -->
|
605 |
<HR>
|
606 |
|
607 |
|
608 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
609 |
<A NAME="navbar_bottom"><!-- --></A> |
610 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
611 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
612 |
<TR>
|
613 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
614 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
615 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
616 |
<TR ALIGN="center" VALIGN="top"> |
617 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
618 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
619 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
620 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
621 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
622 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
623 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
624 |
</TR>
|
625 |
</TABLE>
|
626 |
</TD>
|
627 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
628 |
</EM>
|
629 |
</TD>
|
630 |
</TR>
|
631 |
|
632 |
<TR>
|
633 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
634 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FShape.html" title="interface in com.iver.cit.gvsig.fmap.core"><B>PREV CLASS</B></A> |
635 |
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/WritableShape.html" title="interface in com.iver.cit.gvsig.fmap.core"><B>NEXT CLASS</B></A></FONT></TD> |
636 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
637 |
<A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
638 |
<A HREF="IGeometry.html" target="_top"><B>NO FRAMES</B></A> |
639 |
<SCRIPT type="text/javascript"> |
640 |
<!--
|
641 |
if(window==top) {
|
642 |
document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
643 |
}
|
644 |
//-->
|
645 |
</SCRIPT>
|
646 |
<NOSCRIPT>
|
647 |
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
648 |
</NOSCRIPT>
|
649 |
|
650 |
</FONT></TD> |
651 |
</TR>
|
652 |
<TR>
|
653 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
654 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
655 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
656 |
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
657 |
</TR>
|
658 |
</TABLE>
|
659 |
<A NAME="skip-navbar_bottom"></A> |
660 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
661 |
|
662 |
<HR>
|
663 |
|
664 |
</BODY>
|
665 |
</HTML>
|