Statistics
| Revision:

svn-gvsig-desktop / tags / v1_9_Build_1252 / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / core / GeneralPathX.html @ 33941

History | View | Annotate | Download (44.5 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:48 CET 2005 -->
6
<TITLE>
7
GeneralPathX (FMap API)
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.core.GeneralPathX 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="GeneralPathX (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>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FPolyline3D.html" title="class in com.iver.cit.gvsig.fmap.core"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class 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>  &nbsp;
56
&nbsp;<A HREF="GeneralPathX.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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
Class GeneralPathX</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>com.iver.cit.gvsig.fmap.core.GeneralPathX</B>
90
</PRE>
91
<DL>
92
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, java.awt.Shape</DD>
93
</DL>
94
<HR>
95
<DL>
96
<DT>public class <B>GeneralPathX</B><DT>extends java.lang.Object<DT>implements java.awt.Shape, java.lang.Cloneable</DL>
97

    
98
<P>
99
The <code>GeneralPathX</code> class represents a geometric path 
100
 constructed from straight lines, and quadratic and cubic
101
 (B&eacute;zier) curves.  It can contain multiple subpaths.
102
 <p>
103
 The winding rule specifies how the interior of a path is
104
 determined.  There are two types of winding rules:  
105
 EVEN_ODD and NON_ZERO.
106
 <p>
107
 An EVEN_ODD winding rule means that enclosed regions
108
 of the path alternate between interior and exterior areas as
109
 traversed from the outside of the path towards a point inside
110
 the region.  
111
 <p>
112
 A NON_ZERO winding rule means that if a ray is 
113
 drawn in any direction from a given point to infinity
114
 and the places where the path intersects
115
 the ray are examined, the point is inside of the path if and only if
116
 the number of times that the path crosses the ray from
117
 left to right does not equal the  number of times that the path crosses
118
 the ray from right to left.
119
<P>
120

    
121
<P>
122
<DL>
123
<DT><B>Version:</B></DT>
124
  <DD>1.58, 01/23/03</DD>
125
<DT><B>Author:</B></DT>
126
  <DD>Jim Graham</DD>
127
</DL>
128
<HR>
129

    
130
<P>
131
<!-- ======== NESTED CLASS SUMMARY ======== -->
132

    
133

    
134
<!-- =========== FIELD SUMMARY =========== -->
135

    
136
<A NAME="field_summary"><!-- --></A>
137
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139
<TD COLSPAN=2><FONT SIZE="+2">
140
<B>Field Summary</B></FONT></TD>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE>static&nbsp;int</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_EVEN_ODD">WIND_EVEN_ODD</A></B></CODE>
146

    
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An even-odd winding rule for determining the interior of
149
 a path.</TD>
150
</TR>
151
<TR BGCOLOR="white" CLASS="TableRowColor">
152
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
153
<CODE>static&nbsp;int</CODE></FONT></TD>
154
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO">WIND_NON_ZERO</A></B></CODE>
155

    
156
<BR>
157
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A non-zero winding rule for determining the interior of a
158
 path.</TD>
159
</TR>
160
</TABLE>
161
&nbsp;
162
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
163

    
164
<A NAME="constructor_summary"><!-- --></A>
165
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
166
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
167
<TD COLSPAN=2><FONT SIZE="+2">
168
<B>Constructor Summary</B></FONT></TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#GeneralPathX()">GeneralPathX</A></B>()</CODE>
172

    
173
<BR>
174
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <code>GeneralPathX</code> object.
175
 </TD>
176
</TR>
177
<TR BGCOLOR="white" CLASS="TableRowColor">
178
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#GeneralPathX(int)">GeneralPathX</A></B>(int&nbsp;rule)</CODE>
179

    
180
<BR>
181
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <code>GeneralPathX</code> object with the specified 
182
 winding rule to control operations that require the interior of the
183
 path to be defined.</TD>
184
</TR>
185
<TR BGCOLOR="white" CLASS="TableRowColor">
186
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#GeneralPathX(int, int)">GeneralPathX</A></B>(int&nbsp;rule,
187
             int&nbsp;initialCapacity)</CODE>
188

    
189
<BR>
190
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <code>GeneralPathX</code> object with the specified 
191
 winding rule and the specified initial capacity to store path 
192
 coordinates. </TD>
193
</TR>
194
<TR BGCOLOR="white" CLASS="TableRowColor">
195
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#GeneralPathX(java.awt.Shape)">GeneralPathX</A></B>(java.awt.Shape&nbsp;s)</CODE>
196

    
197
<BR>
198
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new <code>GeneralPathX</code> object from an arbitrary 
199
 <CODE>Shape</CODE> object.
200
 </TD>
201
</TR>
202
</TABLE>
203
&nbsp;
204
<!-- ========== METHOD SUMMARY =========== -->
205

    
206
<A NAME="method_summary"><!-- --></A>
207
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209
<TD COLSPAN=2><FONT SIZE="+2">
210
<B>Method Summary</B></FONT></TD>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE>&nbsp;void</CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#append(java.awt.geom.PathIterator, boolean)">append</A></B>(java.awt.geom.PathIterator&nbsp;pi,
216
       boolean&nbsp;connect)</CODE>
217

    
218
<BR>
219
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the geometry of the specified
220
 <CODE>PathIterator</CODE> object 
221
 to the path, possibly connecting the new geometry to the existing
222
 path segments with a line segment.
223
 </TD>
224
</TR>
225
<TR BGCOLOR="white" CLASS="TableRowColor">
226
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227
<CODE>&nbsp;void</CODE></FONT></TD>
228
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#append(java.awt.Shape, boolean)">append</A></B>(java.awt.Shape&nbsp;s,
229
       boolean&nbsp;connect)</CODE>
230

    
231
<BR>
232
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the geometry of the specified <code>Shape</code> object to the
233
 path, possibly connecting the new geometry to the existing path
234
 segments with a line segment.
235
 </TD>
236
</TR>
237
<TR BGCOLOR="white" CLASS="TableRowColor">
238
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
240
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#clone()">clone</A></B>()</CODE>
241

    
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new object of the same class as this object.</TD>
244
</TR>
245
<TR BGCOLOR="white" CLASS="TableRowColor">
246
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247
<CODE>&nbsp;void</CODE></FONT></TD>
248
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#closePath()">closePath</A></B>()</CODE>
249

    
250
<BR>
251
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the current subpath by drawing a straight line back to
252
 the coordinates of the last <code>moveTo</code>.  </TD>
253
</TR>
254
<TR BGCOLOR="white" CLASS="TableRowColor">
255
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256
<CODE>&nbsp;boolean</CODE></FONT></TD>
257
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#contains(double, double)">contains</A></B>(double&nbsp;x,
258
         double&nbsp;y)</CODE>
259

    
260
<BR>
261
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the specified coordinates are inside the boundary of 
262
 this <code>Shape</code>.</TD>
263
</TR>
264
<TR BGCOLOR="white" CLASS="TableRowColor">
265
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266
<CODE>&nbsp;boolean</CODE></FONT></TD>
267
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#contains(double, double, double, double)">contains</A></B>(double&nbsp;x,
268
         double&nbsp;y,
269
         double&nbsp;w,
270
         double&nbsp;h)</CODE>
271

    
272
<BR>
273
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the specified rectangular area is inside the boundary of
274
 this <code>Shape</code>.</TD>
275
</TR>
276
<TR BGCOLOR="white" CLASS="TableRowColor">
277
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278
<CODE>&nbsp;boolean</CODE></FONT></TD>
279
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#contains(java.awt.geom.Point2D)">contains</A></B>(java.awt.geom.Point2D&nbsp;p)</CODE>
280

    
281
<BR>
282
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the specified <code>Point2D</code> is inside the boundary
283
 of this <code>Shape</code>.</TD>
284
</TR>
285
<TR BGCOLOR="white" CLASS="TableRowColor">
286
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287
<CODE>&nbsp;boolean</CODE></FONT></TD>
288
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#contains(java.awt.geom.Rectangle2D)">contains</A></B>(java.awt.geom.Rectangle2D&nbsp;r)</CODE>
289

    
290
<BR>
291
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the specified <code>Rectangle2D</code>
292
 is inside the boundary of this <code>Shape</code>.</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>&nbsp;java.awt.Shape</CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#createTransformedShape(java.awt.geom.AffineTransform)">createTransformedShape</A></B>(java.awt.geom.AffineTransform&nbsp;at)</CODE>
298

    
299
<BR>
300
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new transformed <code>Shape</code>.</TD>
301
</TR>
302
<TR BGCOLOR="white" CLASS="TableRowColor">
303
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304
<CODE>&nbsp;void</CODE></FONT></TD>
305
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#curveTo(double, double, double, double, double, double)">curveTo</A></B>(double&nbsp;x1,
306
        double&nbsp;y1,
307
        double&nbsp;x2,
308
        double&nbsp;y2,
309
        double&nbsp;x3,
310
        double&nbsp;y3)</CODE>
311

    
312
<BR>
313
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a curved segment, defined by three new points, to the path by
314
 drawing a B&eacute;zier curve that intersects both the current
315
 coordinates and the coordinates (x3,&nbsp;y3), using the    
316
 specified points (x1,&nbsp;y1) and (x2,&nbsp;y2) as
317
 B&eacute;zier control points.</TD>
318
</TR>
319
<TR BGCOLOR="white" CLASS="TableRowColor">
320
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
321
<CODE>&nbsp;void</CODE></FONT></TD>
322
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#flip()">flip</A></B>()</CODE>
323

    
324
<BR>
325
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
326
</TR>
327
<TR BGCOLOR="white" CLASS="TableRowColor">
328
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
329
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
330
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getBounds()">getBounds</A></B>()</CODE>
331

    
332
<BR>
333
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the bounding box of the path.</TD>
334
</TR>
335
<TR BGCOLOR="white" CLASS="TableRowColor">
336
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
337
<CODE>&nbsp;java.awt.geom.Rectangle2D</CODE></FONT></TD>
338
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getBounds2D()">getBounds2D</A></B>()</CODE>
339

    
340
<BR>
341
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding box of the path.</TD>
342
</TR>
343
<TR BGCOLOR="white" CLASS="TableRowColor">
344
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
345
<CODE>&nbsp;java.awt.geom.Point2D</CODE></FONT></TD>
346
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getCurrentPoint()">getCurrentPoint</A></B>()</CODE>
347

    
348
<BR>
349
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the coordinates most recently added to the end of the path
350
 as a <CODE>Point2D</CODE> object.</TD>
351
</TR>
352
<TR BGCOLOR="white" CLASS="TableRowColor">
353
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
354
<CODE>&nbsp;java.awt.geom.PathIterator</CODE></FONT></TD>
355
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getPathIterator(java.awt.geom.AffineTransform)">getPathIterator</A></B>(java.awt.geom.AffineTransform&nbsp;at)</CODE>
356

    
357
<BR>
358
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PathIterator</code> object that iterates along the 
359
 boundary of this <code>Shape</code> and provides access to the 
360
 geometry of the outline of this <code>Shape</code>.
361
 </TD>
362
</TR>
363
<TR BGCOLOR="white" CLASS="TableRowColor">
364
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
365
<CODE>&nbsp;java.awt.geom.PathIterator</CODE></FONT></TD>
366
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getPathIterator(java.awt.geom.AffineTransform, double)">getPathIterator</A></B>(java.awt.geom.AffineTransform&nbsp;at,
367
                double&nbsp;flatness)</CODE>
368

    
369
<BR>
370
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a <code>PathIterator</code> object that iterates along the 
371
 boundary of the flattened <code>Shape</code> and provides access to the 
372
 geometry of the outline of the <code>Shape</code>.
373
 </TD>
374
</TR>
375
<TR BGCOLOR="white" CLASS="TableRowColor">
376
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377
<CODE>&nbsp;int</CODE></FONT></TD>
378
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getWindingRule()">getWindingRule</A></B>()</CODE>
379

    
380
<BR>
381
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the fill style winding rule.</TD>
382
</TR>
383
<TR BGCOLOR="white" CLASS="TableRowColor">
384
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
385
<CODE>&nbsp;boolean</CODE></FONT></TD>
386
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#intersects(double, double, double, double)">intersects</A></B>(double&nbsp;x,
387
           double&nbsp;y,
388
           double&nbsp;w,
389
           double&nbsp;h)</CODE>
390

    
391
<BR>
392
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the interior of this <code>Shape</code> intersects the 
393
 interior of a specified set of rectangular coordinates.</TD>
394
</TR>
395
<TR BGCOLOR="white" CLASS="TableRowColor">
396
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
397
<CODE>&nbsp;boolean</CODE></FONT></TD>
398
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#intersects(java.awt.geom.Rectangle2D)">intersects</A></B>(java.awt.geom.Rectangle2D&nbsp;r)</CODE>
399

    
400
<BR>
401
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tests if the interior of this <code>Shape</code> intersects the 
402
 interior of a specified <code>Rectangle2D</code>.</TD>
403
</TR>
404
<TR BGCOLOR="white" CLASS="TableRowColor">
405
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
406
<CODE>&nbsp;void</CODE></FONT></TD>
407
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#lineTo(double, double)">lineTo</A></B>(double&nbsp;x,
408
       double&nbsp;y)</CODE>
409

    
410
<BR>
411
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a point to the path by drawing a straight line from the
412
 current coordinates to the new specified coordinates.</TD>
413
</TR>
414
<TR BGCOLOR="white" CLASS="TableRowColor">
415
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
416
<CODE>&nbsp;void</CODE></FONT></TD>
417
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#moveTo(double, double)">moveTo</A></B>(double&nbsp;x,
418
       double&nbsp;y)</CODE>
419

    
420
<BR>
421
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a point to the path by moving to the specified
422
 coordinates.</TD>
423
</TR>
424
<TR BGCOLOR="white" CLASS="TableRowColor">
425
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
426
<CODE>&nbsp;void</CODE></FONT></TD>
427
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#quadTo(double, double, double, double)">quadTo</A></B>(double&nbsp;x1,
428
       double&nbsp;y1,
429
       double&nbsp;x2,
430
       double&nbsp;y2)</CODE>
431

    
432
<BR>
433
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a curved segment, defined by two new points, to the path by
434
 drawing a Quadratic curve that intersects both the current
435
 coordinates and the coordinates (x2,&nbsp;y2), using the 
436
 specified point (x1,&nbsp;y1) as a quadratic parametric control
437
 point.</TD>
438
</TR>
439
<TR BGCOLOR="white" CLASS="TableRowColor">
440
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
441
<CODE>&nbsp;void</CODE></FONT></TD>
442
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#reProject(ICoordTrans)">reProject</A></B>(ICoordTrans&nbsp;ct)</CODE>
443

    
444
<BR>
445
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
446
</TR>
447
<TR BGCOLOR="white" CLASS="TableRowColor">
448
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
449
<CODE>&nbsp;void</CODE></FONT></TD>
450
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#reset()">reset</A></B>()</CODE>
451

    
452
<BR>
453
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the path to empty.  </TD>
454
</TR>
455
<TR BGCOLOR="white" CLASS="TableRowColor">
456
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
457
<CODE>&nbsp;void</CODE></FONT></TD>
458
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#setWindingRule(int)">setWindingRule</A></B>(int&nbsp;rule)</CODE>
459

    
460
<BR>
461
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the winding rule for this path to the specified value.</TD>
462
</TR>
463
<TR BGCOLOR="white" CLASS="TableRowColor">
464
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
465
<CODE>&nbsp;void</CODE></FONT></TD>
466
<TD><CODE><B><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#transform(java.awt.geom.AffineTransform)">transform</A></B>(java.awt.geom.AffineTransform&nbsp;at)</CODE>
467

    
468
<BR>
469
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transforms the geometry of this path using the specified 
470
 <CODE>AffineTransform</CODE>.
471
 </TD>
472
</TR>
473
</TABLE>
474
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
475
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
476
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
477
<TD><B>Methods inherited from class java.lang.Object</B></TD>
478
</TR>
479
<TR BGCOLOR="white" CLASS="TableRowColor">
480
<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
481
</TR>
482
</TABLE>
483
&nbsp;
484
<P>
485

    
486
<!-- ============ FIELD DETAIL =========== -->
487

    
488
<A NAME="field_detail"><!-- --></A>
489
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
490
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
491
<TD COLSPAN=1><FONT SIZE="+2">
492
<B>Field Detail</B></FONT></TD>
493
</TR>
494
</TABLE>
495

    
496
<A NAME="WIND_EVEN_ODD"><!-- --></A><H3>
497
WIND_EVEN_ODD</H3>
498
<PRE>
499
public static final int <B>WIND_EVEN_ODD</B></PRE>
500
<DL>
501
<DD>An even-odd winding rule for determining the interior of
502
 a path.
503
<P>
504
<DL>
505
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.GeneralPathX.WIND_EVEN_ODD">Constant Field Values</A></DL>
506
</DL>
507
<HR>
508

    
509
<A NAME="WIND_NON_ZERO"><!-- --></A><H3>
510
WIND_NON_ZERO</H3>
511
<PRE>
512
public static final int <B>WIND_NON_ZERO</B></PRE>
513
<DL>
514
<DD>A non-zero winding rule for determining the interior of a
515
 path.
516
<P>
517
<DL>
518
<DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.iver.cit.gvsig.fmap.core.GeneralPathX.WIND_NON_ZERO">Constant Field Values</A></DL>
519
</DL>
520

    
521
<!-- ========= CONSTRUCTOR DETAIL ======== -->
522

    
523
<A NAME="constructor_detail"><!-- --></A>
524
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
525
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
526
<TD COLSPAN=1><FONT SIZE="+2">
527
<B>Constructor Detail</B></FONT></TD>
528
</TR>
529
</TABLE>
530

    
531
<A NAME="GeneralPathX()"><!-- --></A><H3>
532
GeneralPathX</H3>
533
<PRE>
534
public <B>GeneralPathX</B>()</PRE>
535
<DL>
536
<DD>Constructs a new <code>GeneralPathX</code> object.
537
 If an operation performed on this path requires the
538
 interior of the path to be defined then the default NON_ZERO
539
 winding rule is used.
540
<P>
541
<DT><B>See Also:</B><DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO"><CODE>WIND_NON_ZERO</CODE></A></DL>
542
<HR>
543

    
544
<A NAME="GeneralPathX(int)"><!-- --></A><H3>
545
GeneralPathX</H3>
546
<PRE>
547
public <B>GeneralPathX</B>(int&nbsp;rule)</PRE>
548
<DL>
549
<DD>Constructs a new <code>GeneralPathX</code> object with the specified 
550
 winding rule to control operations that require the interior of the
551
 path to be defined.
552
<P>
553
<DT><B>Parameters:</B><DD><CODE>rule</CODE> - the winding rule<DT><B>See Also:</B><DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_EVEN_ODD"><CODE>WIND_EVEN_ODD</CODE></A>, 
554
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO"><CODE>WIND_NON_ZERO</CODE></A></DL>
555
<HR>
556

    
557
<A NAME="GeneralPathX(int, int)"><!-- --></A><H3>
558
GeneralPathX</H3>
559
<PRE>
560
public <B>GeneralPathX</B>(int&nbsp;rule,
561
                    int&nbsp;initialCapacity)</PRE>
562
<DL>
563
<DD>Constructs a new <code>GeneralPathX</code> object with the specified 
564
 winding rule and the specified initial capacity to store path 
565
 coordinates. This number is an initial guess as to how many path 
566
 segments are in the path, but the storage is expanded 
567
 as needed to store whatever path segments are added to this path.
568
<P>
569
<DT><B>Parameters:</B><DD><CODE>rule</CODE> - the winding rule<DD><CODE>initialCapacity</CODE> - the estimate for the number of path segments
570
 in the path<DT><B>See Also:</B><DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_EVEN_ODD"><CODE>WIND_EVEN_ODD</CODE></A>, 
571
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO"><CODE>WIND_NON_ZERO</CODE></A></DL>
572
<HR>
573

    
574
<A NAME="GeneralPathX(java.awt.Shape)"><!-- --></A><H3>
575
GeneralPathX</H3>
576
<PRE>
577
public <B>GeneralPathX</B>(java.awt.Shape&nbsp;s)</PRE>
578
<DL>
579
<DD>Constructs a new <code>GeneralPathX</code> object from an arbitrary 
580
 <CODE>Shape</CODE> object.
581
 All of the initial geometry and the winding rule for this path are
582
 taken from the specified <code>Shape</code> object.
583
<P>
584
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the specified <code>Shape</code> object</DL>
585

    
586
<!-- ============ METHOD DETAIL ========== -->
587

    
588
<A NAME="method_detail"><!-- --></A>
589
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
590
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
591
<TD COLSPAN=1><FONT SIZE="+2">
592
<B>Method Detail</B></FONT></TD>
593
</TR>
594
</TABLE>
595

    
596
<A NAME="moveTo(double, double)"><!-- --></A><H3>
597
moveTo</H3>
598
<PRE>
599
public void <B>moveTo</B>(double&nbsp;x,
600
                   double&nbsp;y)</PRE>
601
<DL>
602
<DD>Adds a point to the path by moving to the specified
603
 coordinates.
604
<P>
605
<DD><DL>
606
</DL>
607
</DD>
608
<DD><DL>
609
</DL>
610
</DD>
611
</DL>
612
<HR>
613

    
614
<A NAME="lineTo(double, double)"><!-- --></A><H3>
615
lineTo</H3>
616
<PRE>
617
public void <B>lineTo</B>(double&nbsp;x,
618
                   double&nbsp;y)</PRE>
619
<DL>
620
<DD>Adds a point to the path by drawing a straight line from the
621
 current coordinates to the new specified coordinates.
622
<P>
623
<DD><DL>
624
</DL>
625
</DD>
626
<DD><DL>
627
</DL>
628
</DD>
629
</DL>
630
<HR>
631

    
632
<A NAME="quadTo(double, double, double, double)"><!-- --></A><H3>
633
quadTo</H3>
634
<PRE>
635
public void <B>quadTo</B>(double&nbsp;x1,
636
                   double&nbsp;y1,
637
                   double&nbsp;x2,
638
                   double&nbsp;y2)</PRE>
639
<DL>
640
<DD>Adds a curved segment, defined by two new points, to the path by
641
 drawing a Quadratic curve that intersects both the current
642
 coordinates and the coordinates (x2,&nbsp;y2), using the 
643
 specified point (x1,&nbsp;y1) as a quadratic parametric control
644
 point.
645
<P>
646
<DD><DL>
647
</DL>
648
</DD>
649
<DD><DL>
650
</DL>
651
</DD>
652
</DL>
653
<HR>
654

    
655
<A NAME="curveTo(double, double, double, double, double, double)"><!-- --></A><H3>
656
curveTo</H3>
657
<PRE>
658
public void <B>curveTo</B>(double&nbsp;x1,
659
                    double&nbsp;y1,
660
                    double&nbsp;x2,
661
                    double&nbsp;y2,
662
                    double&nbsp;x3,
663
                    double&nbsp;y3)</PRE>
664
<DL>
665
<DD>Adds a curved segment, defined by three new points, to the path by
666
 drawing a B&eacute;zier curve that intersects both the current
667
 coordinates and the coordinates (x3,&nbsp;y3), using the    
668
 specified points (x1,&nbsp;y1) and (x2,&nbsp;y2) as
669
 B&eacute;zier control points.
670
<P>
671
<DD><DL>
672
</DL>
673
</DD>
674
<DD><DL>
675
</DL>
676
</DD>
677
</DL>
678
<HR>
679

    
680
<A NAME="closePath()"><!-- --></A><H3>
681
closePath</H3>
682
<PRE>
683
public void <B>closePath</B>()</PRE>
684
<DL>
685
<DD>Closes the current subpath by drawing a straight line back to
686
 the coordinates of the last <code>moveTo</code>.  If the path is already
687
 closed then this method has no effect.
688
<P>
689
<DD><DL>
690
</DL>
691
</DD>
692
<DD><DL>
693
</DL>
694
</DD>
695
</DL>
696
<HR>
697

    
698
<A NAME="append(java.awt.Shape, boolean)"><!-- --></A><H3>
699
append</H3>
700
<PRE>
701
public void <B>append</B>(java.awt.Shape&nbsp;s,
702
                   boolean&nbsp;connect)</PRE>
703
<DL>
704
<DD>Appends the geometry of the specified <code>Shape</code> object to the
705
 path, possibly connecting the new geometry to the existing path
706
 segments with a line segment.
707
 If the <code>connect</code> parameter is <code>true</code> and the 
708
 path is not empty then any initial <code>moveTo</code> in the
709
 geometry of the appended <code>Shape</code>
710
 is turned into a <code>lineTo</code> segment.
711
 If the destination coordinates of such a connecting <code>lineTo</code>
712
 segment match the ending coordinates of a currently open
713
 subpath then the segment is omitted as superfluous.
714
 The winding rule of the specified <code>Shape</code> is ignored
715
 and the appended geometry is governed by the winding
716
 rule specified for this path.
717
<P>
718
<DD><DL>
719
</DL>
720
</DD>
721
<DD><DL>
722
<DT><B>Parameters:</B><DD><CODE>s</CODE> - the <code>Shape</code> whose geometry is appended 
723
 to this path<DD><CODE>connect</CODE> - a boolean to control whether or not to turn an
724
 initial <code>moveTo</code> segment into a <code>lineTo</code>
725
 segment to connect the new geometry to the existing path</DL>
726
</DD>
727
</DL>
728
<HR>
729

    
730
<A NAME="append(java.awt.geom.PathIterator, boolean)"><!-- --></A><H3>
731
append</H3>
732
<PRE>
733
public void <B>append</B>(java.awt.geom.PathIterator&nbsp;pi,
734
                   boolean&nbsp;connect)</PRE>
735
<DL>
736
<DD>Appends the geometry of the specified
737
 <CODE>PathIterator</CODE> object 
738
 to the path, possibly connecting the new geometry to the existing
739
 path segments with a line segment.
740
 If the <code>connect</code> parameter is <code>true</code> and the 
741
 path is not empty then any initial <code>moveTo</code> in the
742
 geometry of the appended <code>Shape</code> is turned into a
743
 <code>lineTo</code> segment.
744
 If the destination coordinates of such a connecting <code>lineTo</code>
745
 segment match the ending coordinates of a currently open
746
 subpath then the segment is omitted as superfluous.
747
 The winding rule of the specified <code>Shape</code> is ignored
748
 and the appended geometry is governed by the winding
749
 rule specified for this path.
750
<P>
751
<DD><DL>
752
</DL>
753
</DD>
754
<DD><DL>
755
<DT><B>Parameters:</B><DD><CODE>pi</CODE> - the <code>PathIterator</code> whose geometry is appended to 
756
 this path<DD><CODE>connect</CODE> - a boolean to control whether or not to turn an
757
 initial <code>moveTo</code> segment into a <code>lineTo</code> segment
758
 to connect the new geometry to the existing path</DL>
759
</DD>
760
</DL>
761
<HR>
762

    
763
<A NAME="getWindingRule()"><!-- --></A><H3>
764
getWindingRule</H3>
765
<PRE>
766
public int <B>getWindingRule</B>()</PRE>
767
<DL>
768
<DD>Returns the fill style winding rule.
769
<P>
770
<DD><DL>
771
</DL>
772
</DD>
773
<DD><DL>
774

    
775
<DT><B>Returns:</B><DD>an integer representing the current winding rule.<DT><B>See Also:</B><DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_EVEN_ODD"><CODE>WIND_EVEN_ODD</CODE></A>, 
776
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO"><CODE>WIND_NON_ZERO</CODE></A>, 
777
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#setWindingRule(int)"><CODE>setWindingRule(int)</CODE></A></DL>
778
</DD>
779
</DL>
780
<HR>
781

    
782
<A NAME="setWindingRule(int)"><!-- --></A><H3>
783
setWindingRule</H3>
784
<PRE>
785
public void <B>setWindingRule</B>(int&nbsp;rule)</PRE>
786
<DL>
787
<DD>Sets the winding rule for this path to the specified value.
788
<P>
789
<DD><DL>
790
</DL>
791
</DD>
792
<DD><DL>
793
<DT><B>Parameters:</B><DD><CODE>rule</CODE> - an integer representing the specified 
794
 winding rule
795
<DT><B>Throws:</B>
796
<DD><CODE><code>IllegalArgumentException</code></CODE> - if 
797
                <code>rule</code> is not either 
798
                <code>WIND_EVEN_ODD</code> or
799
                <code>WIND_NON_ZERO</code><DT><B>See Also:</B><DD><A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_EVEN_ODD"><CODE>WIND_EVEN_ODD</CODE></A>, 
800
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#WIND_NON_ZERO"><CODE>WIND_NON_ZERO</CODE></A>, 
801
<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathX.html#getWindingRule()"><CODE>getWindingRule()</CODE></A></DL>
802
</DD>
803
</DL>
804
<HR>
805

    
806
<A NAME="getCurrentPoint()"><!-- --></A><H3>
807
getCurrentPoint</H3>
808
<PRE>
809
public java.awt.geom.Point2D <B>getCurrentPoint</B>()</PRE>
810
<DL>
811
<DD>Returns the coordinates most recently added to the end of the path
812
 as a <CODE>Point2D</CODE> object.
813
<P>
814
<DD><DL>
815
</DL>
816
</DD>
817
<DD><DL>
818

    
819
<DT><B>Returns:</B><DD>a <code>Point2D</code> object containing the ending 
820
 coordinates of the path or <code>null</code> if there are no points
821
 in the path.</DL>
822
</DD>
823
</DL>
824
<HR>
825

    
826
<A NAME="reset()"><!-- --></A><H3>
827
reset</H3>
828
<PRE>
829
public void <B>reset</B>()</PRE>
830
<DL>
831
<DD>Resets the path to empty.  The append position is set back to the
832
 beginning of the path and all coordinates and point types are
833
 forgotten.
834
<P>
835
<DD><DL>
836
</DL>
837
</DD>
838
<DD><DL>
839
</DL>
840
</DD>
841
</DL>
842
<HR>
843

    
844
<A NAME="transform(java.awt.geom.AffineTransform)"><!-- --></A><H3>
845
transform</H3>
846
<PRE>
847
public void <B>transform</B>(java.awt.geom.AffineTransform&nbsp;at)</PRE>
848
<DL>
849
<DD>Transforms the geometry of this path using the specified 
850
 <CODE>AffineTransform</CODE>.
851
 The geometry is transformed in place, which permanently changes the
852
 boundary defined by this object.
853
<P>
854
<DD><DL>
855
</DL>
856
</DD>
857
<DD><DL>
858
<DT><B>Parameters:</B><DD><CODE>at</CODE> - the <code>AffineTransform</code> used to transform the area</DL>
859
</DD>
860
</DL>
861
<HR>
862

    
863
<A NAME="reProject(ICoordTrans)"><!-- --></A><H3>
864
reProject</H3>
865
<PRE>
866
public void <B>reProject</B>(ICoordTrans&nbsp;ct)</PRE>
867
<DL>
868
<DD><DL>
869
</DL>
870
</DD>
871
<DD><DL>
872
</DL>
873
</DD>
874
</DL>
875
<HR>
876

    
877
<A NAME="createTransformedShape(java.awt.geom.AffineTransform)"><!-- --></A><H3>
878
createTransformedShape</H3>
879
<PRE>
880
public java.awt.Shape <B>createTransformedShape</B>(java.awt.geom.AffineTransform&nbsp;at)</PRE>
881
<DL>
882
<DD>Returns a new transformed <code>Shape</code>.
883
<P>
884
<DD><DL>
885
</DL>
886
</DD>
887
<DD><DL>
888
<DT><B>Parameters:</B><DD><CODE>at</CODE> - the <code>AffineTransform</code> used to transform a 
889
 new <code>Shape</code>.
890
<DT><B>Returns:</B><DD>a new <code>Shape</code>, transformed with the specified 
891
 <code>AffineTransform</code>.</DL>
892
</DD>
893
</DL>
894
<HR>
895

    
896
<A NAME="getBounds()"><!-- --></A><H3>
897
getBounds</H3>
898
<PRE>
899
public java.awt.Rectangle <B>getBounds</B>()</PRE>
900
<DL>
901
<DD>Return the bounding box of the path.
902
<P>
903
<DD><DL>
904
<DT><B>Specified by:</B><DD><CODE>getBounds</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
905
</DD>
906
<DD><DL>
907

    
908
<DT><B>Returns:</B><DD>a <CODE>Rectangle</CODE> object that
909
 bounds the current path.</DL>
910
</DD>
911
</DL>
912
<HR>
913

    
914
<A NAME="getBounds2D()"><!-- --></A><H3>
915
getBounds2D</H3>
916
<PRE>
917
public java.awt.geom.Rectangle2D <B>getBounds2D</B>()</PRE>
918
<DL>
919
<DD>Returns the bounding box of the path.
920
<P>
921
<DD><DL>
922
<DT><B>Specified by:</B><DD><CODE>getBounds2D</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
923
</DD>
924
<DD><DL>
925

    
926
<DT><B>Returns:</B><DD>a <CODE>Rectangle2D</CODE> object that
927
          bounds the current path.</DL>
928
</DD>
929
</DL>
930
<HR>
931

    
932
<A NAME="contains(double, double)"><!-- --></A><H3>
933
contains</H3>
934
<PRE>
935
public boolean <B>contains</B>(double&nbsp;x,
936
                        double&nbsp;y)</PRE>
937
<DL>
938
<DD>Tests if the specified coordinates are inside the boundary of 
939
 this <code>Shape</code>.
940
<P>
941
<DD><DL>
942
<DT><B>Specified by:</B><DD><CODE>contains</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
943
</DD>
944
<DD><DL>
945

    
946
<DT><B>Returns:</B><DD><code>true</code> if the specified coordinates are inside this 
947
 <code>Shape</code>; <code>false</code> otherwise</DL>
948
</DD>
949
</DL>
950
<HR>
951

    
952
<A NAME="contains(java.awt.geom.Point2D)"><!-- --></A><H3>
953
contains</H3>
954
<PRE>
955
public boolean <B>contains</B>(java.awt.geom.Point2D&nbsp;p)</PRE>
956
<DL>
957
<DD>Tests if the specified <code>Point2D</code> is inside the boundary
958
 of this <code>Shape</code>.
959
<P>
960
<DD><DL>
961
<DT><B>Specified by:</B><DD><CODE>contains</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
962
</DD>
963
<DD><DL>
964
<DT><B>Parameters:</B><DD><CODE>p</CODE> - the specified <code>Point2D</code>
965
<DT><B>Returns:</B><DD><code>true</code> if this <code>Shape</code> contains the 
966
 specified <code>Point2D</code>, <code>false</code> otherwise.</DL>
967
</DD>
968
</DL>
969
<HR>
970

    
971
<A NAME="contains(double, double, double, double)"><!-- --></A><H3>
972
contains</H3>
973
<PRE>
974
public boolean <B>contains</B>(double&nbsp;x,
975
                        double&nbsp;y,
976
                        double&nbsp;w,
977
                        double&nbsp;h)</PRE>
978
<DL>
979
<DD>Tests if the specified rectangular area is inside the boundary of
980
 this <code>Shape</code>.
981
<P>
982
<DD><DL>
983
<DT><B>Specified by:</B><DD><CODE>contains</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
984
</DD>
985
<DD><DL>
986
<DT><B>Parameters:</B><DD><CODE>w</CODE> - the width of the specified rectangular area<DD><CODE>h</CODE> - the height of the specified rectangular area
987
<DT><B>Returns:</B><DD><code>true</code> if this <code>Shape</code> contains 
988
 the specified rectangluar area; <code>false</code> otherwise.</DL>
989
</DD>
990
</DL>
991
<HR>
992

    
993
<A NAME="contains(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
994
contains</H3>
995
<PRE>
996
public boolean <B>contains</B>(java.awt.geom.Rectangle2D&nbsp;r)</PRE>
997
<DL>
998
<DD>Tests if the specified <code>Rectangle2D</code>
999
 is inside the boundary of this <code>Shape</code>.
1000
<P>
1001
<DD><DL>
1002
<DT><B>Specified by:</B><DD><CODE>contains</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
1003
</DD>
1004
<DD><DL>
1005
<DT><B>Parameters:</B><DD><CODE>r</CODE> - a specified <code>Rectangle2D</code>
1006
<DT><B>Returns:</B><DD><code>true</code> if this <code>Shape</code> bounds the 
1007
 specified <code>Rectangle2D</code>; <code>false</code> otherwise.</DL>
1008
</DD>
1009
</DL>
1010
<HR>
1011

    
1012
<A NAME="intersects(double, double, double, double)"><!-- --></A><H3>
1013
intersects</H3>
1014
<PRE>
1015
public boolean <B>intersects</B>(double&nbsp;x,
1016
                          double&nbsp;y,
1017
                          double&nbsp;w,
1018
                          double&nbsp;h)</PRE>
1019
<DL>
1020
<DD>Tests if the interior of this <code>Shape</code> intersects the 
1021
 interior of a specified set of rectangular coordinates.
1022
<P>
1023
<DD><DL>
1024
<DT><B>Specified by:</B><DD><CODE>intersects</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
1025
</DD>
1026
<DD><DL>
1027
<DT><B>Parameters:</B><DD><CODE>w</CODE> - the width of the specified rectangular coordinates<DD><CODE>h</CODE> - the height of the specified rectangular coordinates
1028
<DT><B>Returns:</B><DD><code>true</code> if this <code>Shape</code> and the 
1029
 interior of the specified set of rectangular coordinates intersect
1030
 each other; <code>false</code> otherwise.</DL>
1031
</DD>
1032
</DL>
1033
<HR>
1034

    
1035
<A NAME="intersects(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
1036
intersects</H3>
1037
<PRE>
1038
public boolean <B>intersects</B>(java.awt.geom.Rectangle2D&nbsp;r)</PRE>
1039
<DL>
1040
<DD>Tests if the interior of this <code>Shape</code> intersects the 
1041
 interior of a specified <code>Rectangle2D</code>.
1042
<P>
1043
<DD><DL>
1044
<DT><B>Specified by:</B><DD><CODE>intersects</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
1045
</DD>
1046
<DD><DL>
1047
<DT><B>Parameters:</B><DD><CODE>r</CODE> - the specified <code>Rectangle2D</code>
1048
<DT><B>Returns:</B><DD><code>true</code> if this <code>Shape</code> and the interior 
1049
                 of the specified <code>Rectangle2D</code> intersect each
1050
                 other; <code>false</code> otherwise.</DL>
1051
</DD>
1052
</DL>
1053
<HR>
1054

    
1055
<A NAME="getPathIterator(java.awt.geom.AffineTransform)"><!-- --></A><H3>
1056
getPathIterator</H3>
1057
<PRE>
1058
public java.awt.geom.PathIterator <B>getPathIterator</B>(java.awt.geom.AffineTransform&nbsp;at)</PRE>
1059
<DL>
1060
<DD>Returns a <code>PathIterator</code> object that iterates along the 
1061
 boundary of this <code>Shape</code> and provides access to the 
1062
 geometry of the outline of this <code>Shape</code>.
1063
 The iterator for this class is not multi-threaded safe,
1064
 which means that this <code>GeneralPathX</code> class does not
1065
 guarantee that modifications to the geometry of this
1066
 <code>GeneralPathX</code> object do not affect any iterations of
1067
 that geometry that are already in process.
1068
<P>
1069
<DD><DL>
1070
<DT><B>Specified by:</B><DD><CODE>getPathIterator</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
1071
</DD>
1072
<DD><DL>
1073
<DT><B>Parameters:</B><DD><CODE>at</CODE> - an <code>AffineTransform</code>
1074
<DT><B>Returns:</B><DD>a new <code>PathIterator</code> that iterates along the 
1075
 boundary of this <code>Shape</code> and provides access to the 
1076
 geometry of this <code>Shape</code>'s outline</DL>
1077
</DD>
1078
</DL>
1079
<HR>
1080

    
1081
<A NAME="getPathIterator(java.awt.geom.AffineTransform, double)"><!-- --></A><H3>
1082
getPathIterator</H3>
1083
<PRE>
1084
public java.awt.geom.PathIterator <B>getPathIterator</B>(java.awt.geom.AffineTransform&nbsp;at,
1085
                                                  double&nbsp;flatness)</PRE>
1086
<DL>
1087
<DD>Returns a <code>PathIterator</code> object that iterates along the 
1088
 boundary of the flattened <code>Shape</code> and provides access to the 
1089
 geometry of the outline of the <code>Shape</code>.
1090
 The iterator for this class is not multi-threaded safe,
1091
 which means that this <code>GeneralPathX</code> class does not
1092
 guarantee that modifications to the geometry of this
1093
 <code>GeneralPathX</code> object do not affect any iterations of
1094
 that geometry that are already in process.
1095
<P>
1096
<DD><DL>
1097
<DT><B>Specified by:</B><DD><CODE>getPathIterator</CODE> in interface <CODE>java.awt.Shape</CODE></DL>
1098
</DD>
1099
<DD><DL>
1100
<DT><B>Parameters:</B><DD><CODE>at</CODE> - an <code>AffineTransform</code><DD><CODE>flatness</CODE> - the maximum distance that the line segments used to
1101
                approximate the curved segments are allowed to deviate
1102
                from any point on the original curve
1103
<DT><B>Returns:</B><DD>a new <code>PathIterator</code> that iterates along the flattened
1104
 <code>Shape</code> boundary.</DL>
1105
</DD>
1106
</DL>
1107
<HR>
1108

    
1109
<A NAME="clone()"><!-- --></A><H3>
1110
clone</H3>
1111
<PRE>
1112
public java.lang.Object <B>clone</B>()</PRE>
1113
<DL>
1114
<DD>Creates a new object of the same class as this object.
1115
<P>
1116
<DD><DL>
1117
</DL>
1118
</DD>
1119
<DD><DL>
1120

    
1121
<DT><B>Returns:</B><DD>a clone of this instance.
1122
<DT><B>Throws:</B>
1123
<DD><CODE>java.lang.OutOfMemoryError</CODE> - if there is not enough memory.<DT><B>Since:</B></DT>
1124
  <DD>1.2</DD>
1125
<DT><B>See Also:</B><DD><CODE>Cloneable</CODE></DL>
1126
</DD>
1127
</DL>
1128
<HR>
1129

    
1130
<A NAME="flip()"><!-- --></A><H3>
1131
flip</H3>
1132
<PRE>
1133
public void <B>flip</B>()</PRE>
1134
<DL>
1135
<DD><DL>
1136
</DL>
1137
</DD>
1138
<DD><DL>
1139
</DL>
1140
</DD>
1141
</DL>
1142
<!-- ========= END OF CLASS DATA ========= -->
1143
<HR>
1144

    
1145

    
1146
<!-- ======= START OF BOTTOM NAVBAR ====== -->
1147
<A NAME="navbar_bottom"><!-- --></A>
1148
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1149
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1150
<TR>
1151
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1152
<A NAME="navbar_bottom_firstrow"><!-- --></A>
1153
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1154
  <TR ALIGN="center" VALIGN="top">
1155
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1156
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1157
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1158
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1159
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1160
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1161
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1162
  </TR>
1163
</TABLE>
1164
</TD>
1165
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1166
</EM>
1167
</TD>
1168
</TR>
1169

    
1170
<TR>
1171
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1172
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/FPolyline3D.html" title="class in com.iver.cit.gvsig.fmap.core"><B>PREV CLASS</B></A>&nbsp;
1173
&nbsp;<A HREF="../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class in com.iver.cit.gvsig.fmap.core"><B>NEXT CLASS</B></A></FONT></TD>
1174
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1175
  <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1176
&nbsp;<A HREF="GeneralPathX.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1177
&nbsp;<SCRIPT type="text/javascript">
1178
  <!--
1179
  if(window==top) {
1180
    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1181
  }
1182
  //-->
1183
</SCRIPT>
1184
<NOSCRIPT>
1185
  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
1186
</NOSCRIPT>
1187

    
1188
</FONT></TD>
1189
</TR>
1190
<TR>
1191
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1192
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1193
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1194
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1195
</TR>
1196
</TABLE>
1197
<A NAME="skip-navbar_bottom"></A>
1198
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1199

    
1200
<HR>
1201

    
1202
</BODY>
1203
</HTML>