Statistics
| Revision:

root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / px / Extent.html @ 2849

History | View | Annotate | Download (20.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_03) on Fri Sep 02 13:43:20 CEST 2005 -->
6
<TITLE>
7
Extent
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="org.cresques.px.Extent 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="Extent";
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="../../../org/cresques/px/Drawable.html" title="interface in org.cresques.px"><B>PREV CLASS</B></A>&nbsp;
53
&nbsp;<A HREF="../../../org/cresques/px/Extent.Has.html" title="interface in org.cresques.px"><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="Extent.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&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;FIELD&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
org.cresques.px</FONT>
85
<BR>
86
Class Extent</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.px.Extent</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>Extent</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
Clase que getiona el extent de una imagen
97
<P>
98

    
99
<P>
100
<DL>
101
<DT><B>Author:</B></DT>
102
  <DD>Luis W.Sevilla (sevilla_lui@gva.es)</DD>
103
</DL>
104
<HR>
105

    
106
<P>
107
<!-- ======== NESTED CLASS SUMMARY ======== -->
108

    
109
<A NAME="nested_class_summary"><!-- --></A>
110
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112
<TD COLSPAN=2><FONT SIZE="+2">
113
<B>Nested Class Summary</B></FONT></TD>
114
</TR>
115
<TR BGCOLOR="white" CLASS="TableRowColor">
116
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117
<CODE>static&nbsp;interface</CODE></FONT></TD>
118
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.Has.html" title="interface in org.cresques.px">Extent.Has</A></B></CODE>
119

    
120
<BR>
121
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122
</TR>
123
</TABLE>
124
&nbsp;
125
<!-- =========== FIELD SUMMARY =========== -->
126

    
127

    
128
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
129

    
130
<A NAME="constructor_summary"><!-- --></A>
131
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133
<TD COLSPAN=2><FONT SIZE="+2">
134
<B>Constructor Summary</B></FONT></TD>
135
</TR>
136
<TR BGCOLOR="white" CLASS="TableRowColor">
137
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#Extent()">Extent</A></B>()</CODE>
138

    
139
<BR>
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor sin par?metros</TD>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#Extent(double, double, double, double)">Extent</A></B>(double&nbsp;x1,
144
       double&nbsp;y1,
145
       double&nbsp;x2,
146
       double&nbsp;y2)</CODE>
147

    
148
<BR>
149
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contructor</TD>
150
</TR>
151
<TR BGCOLOR="white" CLASS="TableRowColor">
152
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#Extent(org.cresques.px.Extent)">Extent</A></B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;ext)</CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor de copia</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#Extent(java.awt.geom.Point2D, java.awt.geom.Point2D)">Extent</A></B>(java.awt.geom.Point2D&nbsp;pt1,
159
       java.awt.geom.Point2D&nbsp;pt2)</CODE>
160

    
161
<BR>
162
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#Extent(java.awt.geom.Rectangle2D)">Extent</A></B>(java.awt.geom.Rectangle2D&nbsp;r)</CODE>
166

    
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
169
</TR>
170
</TABLE>
171
&nbsp;
172
<!-- ========== METHOD SUMMARY =========== -->
173

    
174
<A NAME="method_summary"><!-- --></A>
175
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
176
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
177
<TD COLSPAN=2><FONT SIZE="+2">
178
<B>Method Summary</B></FONT></TD>
179
</TR>
180
<TR BGCOLOR="white" CLASS="TableRowColor">
181
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182
<CODE>&nbsp;void</CODE></FONT></TD>
183
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#add(org.cresques.px.Extent)">add</A></B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;ext)</CODE>
184

    
185
<BR>
186
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
187
</TR>
188
<TR BGCOLOR="white" CLASS="TableRowColor">
189
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190
<CODE>&nbsp;void</CODE></FONT></TD>
191
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#add(java.awt.geom.Point2D)">add</A></B>(java.awt.geom.Point2D&nbsp;pt)</CODE>
192

    
193
<BR>
194
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verifica un punto, y modifica el extent si no est? incluido</TD>
195
</TR>
196
<TR BGCOLOR="white" CLASS="TableRowColor">
197
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
199
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#clone()">clone</A></B>()</CODE>
200

    
201
<BR>
202
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Crea un objeto extent identico y lo retorna</TD>
203
</TR>
204
<TR BGCOLOR="white" CLASS="TableRowColor">
205
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206
<CODE>&nbsp;java.awt.geom.Point2D</CODE></FONT></TD>
207
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#getMax()">getMax</A></B>()</CODE>
208

    
209
<BR>
210
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el punto m?ximo</TD>
211
</TR>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214
<CODE>&nbsp;java.awt.geom.Point2D</CODE></FONT></TD>
215
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#getMin()">getMin</A></B>()</CODE>
216

    
217
<BR>
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene el punto m?nimo</TD>
219
</TR>
220
<TR BGCOLOR="white" CLASS="TableRowColor">
221
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222
<CODE>&nbsp;double[]</CODE></FONT></TD>
223
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#getScale(double, double)">getScale</A></B>(double&nbsp;width,
224
         double&nbsp;height)</CODE>
225

    
226
<BR>
227
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>&nbsp;double[]</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#getScale(int, int)">getScale</A></B>(int&nbsp;width,
233
         int&nbsp;height)</CODE>
234

    
235
<BR>
236
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la escala</TD>
237
</TR>
238
<TR BGCOLOR="white" CLASS="TableRowColor">
239
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
240
<CODE>&nbsp;double</CODE></FONT></TD>
241
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#height()">height</A></B>()</CODE>
242

    
243
<BR>
244
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
245
</TR>
246
<TR BGCOLOR="white" CLASS="TableRowColor">
247
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
248
<CODE>&nbsp;boolean</CODE></FONT></TD>
249
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#isAt(java.awt.geom.Point2D)">isAt</A></B>(java.awt.geom.Point2D&nbsp;pt)</CODE>
250

    
251
<BR>
252
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
253
</TR>
254
<TR BGCOLOR="white" CLASS="TableRowColor">
255
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256
<CODE>&nbsp;double</CODE></FONT></TD>
257
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#maxX()">maxX</A></B>()</CODE>
258

    
259
<BR>
260
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la coordenada X m?xima</TD>
261
</TR>
262
<TR BGCOLOR="white" CLASS="TableRowColor">
263
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264
<CODE>&nbsp;double</CODE></FONT></TD>
265
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#maxY()">maxY</A></B>()</CODE>
266

    
267
<BR>
268
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la coordenada Y m?xima</TD>
269
</TR>
270
<TR BGCOLOR="white" CLASS="TableRowColor">
271
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
272
<CODE>&nbsp;double</CODE></FONT></TD>
273
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#minX()">minX</A></B>()</CODE>
274

    
275
<BR>
276
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la coordenada X m?nima</TD>
277
</TR>
278
<TR BGCOLOR="white" CLASS="TableRowColor">
279
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
<CODE>&nbsp;double</CODE></FONT></TD>
281
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#minY()">minY</A></B>()</CODE>
282

    
283
<BR>
284
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtiene la coordenada Y m?nima</TD>
285
</TR>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
<CODE>&nbsp;java.awt.geom.Rectangle2D</CODE></FONT></TD>
289
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#toRectangle2D()">toRectangle2D</A></B>()</CODE>
290

    
291
<BR>
292
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#toString()">toString</A></B>()</CODE>
298

    
299
<BR>
300
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
301
</TR>
302
<TR BGCOLOR="white" CLASS="TableRowColor">
303
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304
<CODE>&nbsp;double</CODE></FONT></TD>
305
<TD><CODE><B><A HREF="../../../org/cresques/px/Extent.html#width()">width</A></B>()</CODE>
306

    
307
<BR>
308
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
309
</TR>
310
</TABLE>
311
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
312
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
313
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
314
<TD><B>Methods inherited from class java.lang.Object</B></TD>
315
</TR>
316
<TR BGCOLOR="white" CLASS="TableRowColor">
317
<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
318
</TR>
319
</TABLE>
320
&nbsp;
321
<P>
322

    
323
<!-- ============ FIELD DETAIL =========== -->
324

    
325

    
326
<!-- ========= CONSTRUCTOR DETAIL ======== -->
327

    
328
<A NAME="constructor_detail"><!-- --></A>
329
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
330
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
331
<TD COLSPAN=1><FONT SIZE="+2">
332
<B>Constructor Detail</B></FONT></TD>
333
</TR>
334
</TABLE>
335

    
336
<A NAME="Extent()"><!-- --></A><H3>
337
Extent</H3>
338
<PRE>
339
public <B>Extent</B>()</PRE>
340
<DL>
341
<DD>Constructor sin par?metros
342
<P>
343
</DL>
344
<HR>
345

    
346
<A NAME="Extent(java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3>
347
Extent</H3>
348
<PRE>
349
public <B>Extent</B>(java.awt.geom.Point2D&nbsp;pt1,
350
              java.awt.geom.Point2D&nbsp;pt2)</PRE>
351
<DL>
352
<DD>Constructor
353
<P>
354
<DT><B>Parameters:</B><DD><CODE>pt1</CODE> - punto que representa la esquina superior izquierda<DD><CODE>pt2</CODE> - punto que representa la esquina inferior derecha</DL>
355
<HR>
356

    
357
<A NAME="Extent(double, double, double, double)"><!-- --></A><H3>
358
Extent</H3>
359
<PRE>
360
public <B>Extent</B>(double&nbsp;x1,
361
              double&nbsp;y1,
362
              double&nbsp;x2,
363
              double&nbsp;y2)</PRE>
364
<DL>
365
<DD>Contructor
366
<P>
367
<DT><B>Parameters:</B><DD><CODE>x1</CODE> - punto que representa la coordenada X de la esquina superior izquierda<DD><CODE>y1</CODE> - punto que representa la coordenada Y de la esquina superior izquierda<DD><CODE>x2</CODE> - punto que representa la coordenada X de la esquina inferior derecha<DD><CODE>y2</CODE> - punto que representa la coordenada Y de la esquina inferior derecha</DL>
368
<HR>
369

    
370
<A NAME="Extent(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
371
Extent</H3>
372
<PRE>
373
public <B>Extent</B>(java.awt.geom.Rectangle2D&nbsp;r)</PRE>
374
<DL>
375
<DD>Constructor
376
<P>
377
<DT><B>Parameters:</B><DD><CODE>r</CODE> - Rectangulo 2D</DL>
378
<HR>
379

    
380
<A NAME="Extent(org.cresques.px.Extent)"><!-- --></A><H3>
381
Extent</H3>
382
<PRE>
383
public <B>Extent</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;ext)</PRE>
384
<DL>
385
<DD>Constructor de copia
386
<P>
387
<DT><B>Parameters:</B><DD><CODE>ext</CODE> - Objeto Extent</DL>
388

    
389
<!-- ============ METHOD DETAIL ========== -->
390

    
391
<A NAME="method_detail"><!-- --></A>
392
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
393
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
394
<TD COLSPAN=1><FONT SIZE="+2">
395
<B>Method Detail</B></FONT></TD>
396
</TR>
397
</TABLE>
398

    
399
<A NAME="clone()"><!-- --></A><H3>
400
clone</H3>
401
<PRE>
402
public java.lang.Object <B>clone</B>()</PRE>
403
<DL>
404
<DD>Crea un objeto extent identico y lo retorna
405
<P>
406
<DD><DL>
407

    
408
<DT><B>Returns:</B><DD>Objeto extent</DL>
409
</DD>
410
</DL>
411
<HR>
412

    
413
<A NAME="minX()"><!-- --></A><H3>
414
minX</H3>
415
<PRE>
416
public double <B>minX</B>()</PRE>
417
<DL>
418
<DD>Obtiene la coordenada X m?nima
419
<P>
420
<DD><DL>
421

    
422
<DT><B>Returns:</B><DD>valor de la coordenada X m?nima</DL>
423
</DD>
424
</DL>
425
<HR>
426

    
427
<A NAME="minY()"><!-- --></A><H3>
428
minY</H3>
429
<PRE>
430
public double <B>minY</B>()</PRE>
431
<DL>
432
<DD>Obtiene la coordenada Y m?nima
433
<P>
434
<DD><DL>
435

    
436
<DT><B>Returns:</B><DD>valor de la coordenada X m?nima</DL>
437
</DD>
438
</DL>
439
<HR>
440

    
441
<A NAME="maxX()"><!-- --></A><H3>
442
maxX</H3>
443
<PRE>
444
public double <B>maxX</B>()</PRE>
445
<DL>
446
<DD>Obtiene la coordenada X m?xima
447
<P>
448
<DD><DL>
449

    
450
<DT><B>Returns:</B><DD>valor de la coordenada X m?xima</DL>
451
</DD>
452
</DL>
453
<HR>
454

    
455
<A NAME="maxY()"><!-- --></A><H3>
456
maxY</H3>
457
<PRE>
458
public double <B>maxY</B>()</PRE>
459
<DL>
460
<DD>Obtiene la coordenada Y m?xima
461
<P>
462
<DD><DL>
463

    
464
<DT><B>Returns:</B><DD>valor de la coordenada Y m?xima</DL>
465
</DD>
466
</DL>
467
<HR>
468

    
469
<A NAME="getMin()"><!-- --></A><H3>
470
getMin</H3>
471
<PRE>
472
public java.awt.geom.Point2D <B>getMin</B>()</PRE>
473
<DL>
474
<DD>Obtiene el punto m?nimo
475
<P>
476
<DD><DL>
477

    
478
<DT><B>Returns:</B><DD>m?nimo</DL>
479
</DD>
480
</DL>
481
<HR>
482

    
483
<A NAME="getMax()"><!-- --></A><H3>
484
getMax</H3>
485
<PRE>
486
public java.awt.geom.Point2D <B>getMax</B>()</PRE>
487
<DL>
488
<DD>Obtiene el punto m?ximo
489
<P>
490
<DD><DL>
491

    
492
<DT><B>Returns:</B><DD>m?ximo</DL>
493
</DD>
494
</DL>
495
<HR>
496

    
497
<A NAME="isAt(java.awt.geom.Point2D)"><!-- --></A><H3>
498
isAt</H3>
499
<PRE>
500
public boolean <B>isAt</B>(java.awt.geom.Point2D&nbsp;pt)</PRE>
501
<DL>
502
<DD><DL>
503
</DL>
504
</DD>
505
</DL>
506
<HR>
507

    
508
<A NAME="width()"><!-- --></A><H3>
509
width</H3>
510
<PRE>
511
public double <B>width</B>()</PRE>
512
<DL>
513
<DD><DL>
514
</DL>
515
</DD>
516
</DL>
517
<HR>
518

    
519
<A NAME="height()"><!-- --></A><H3>
520
height</H3>
521
<PRE>
522
public double <B>height</B>()</PRE>
523
<DL>
524
<DD><DL>
525
</DL>
526
</DD>
527
</DL>
528
<HR>
529

    
530
<A NAME="add(java.awt.geom.Point2D)"><!-- --></A><H3>
531
add</H3>
532
<PRE>
533
public void <B>add</B>(java.awt.geom.Point2D&nbsp;pt)</PRE>
534
<DL>
535
<DD>Verifica un punto, y modifica el extent si no est? incluido
536
<P>
537
<DD><DL>
538
</DL>
539
</DD>
540
</DL>
541
<HR>
542

    
543
<A NAME="add(org.cresques.px.Extent)"><!-- --></A><H3>
544
add</H3>
545
<PRE>
546
public void <B>add</B>(<A HREF="../../../org/cresques/px/Extent.html" title="class in org.cresques.px">Extent</A>&nbsp;ext)</PRE>
547
<DL>
548
<DD><DL>
549
</DL>
550
</DD>
551
</DL>
552
<HR>
553

    
554
<A NAME="getScale(int, int)"><!-- --></A><H3>
555
getScale</H3>
556
<PRE>
557
public double[] <B>getScale</B>(int&nbsp;width,
558
                         int&nbsp;height)</PRE>
559
<DL>
560
<DD>Obtiene la escala
561
<P>
562
<DD><DL>
563
<DT><B>Parameters:</B><DD><CODE>width</CODE> - Ancho<DD><CODE>height</CODE> - Alto
564
<DT><B>Returns:</B><DD></DL>
565
</DD>
566
</DL>
567
<HR>
568

    
569
<A NAME="getScale(double, double)"><!-- --></A><H3>
570
getScale</H3>
571
<PRE>
572
public double[] <B>getScale</B>(double&nbsp;width,
573
                         double&nbsp;height)</PRE>
574
<DL>
575
<DD><DL>
576
</DL>
577
</DD>
578
</DL>
579
<HR>
580

    
581
<A NAME="toRectangle2D()"><!-- --></A><H3>
582
toRectangle2D</H3>
583
<PRE>
584
public java.awt.geom.Rectangle2D <B>toRectangle2D</B>()</PRE>
585
<DL>
586
<DD><DL>
587
</DL>
588
</DD>
589
</DL>
590
<HR>
591

    
592
<A NAME="toString()"><!-- --></A><H3>
593
toString</H3>
594
<PRE>
595
public java.lang.String <B>toString</B>()</PRE>
596
<DL>
597
<DD><DL>
598
</DL>
599
</DD>
600
</DL>
601
<!-- ========= END OF CLASS DATA ========= -->
602
<HR>
603

    
604

    
605
<!-- ======= START OF BOTTOM NAVBAR ====== -->
606
<A NAME="navbar_bottom"><!-- --></A>
607
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
608
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
609
<TR>
610
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
611
<A NAME="navbar_bottom_firstrow"><!-- --></A>
612
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
613
  <TR ALIGN="center" VALIGN="top">
614
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
615
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
616
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
617
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
618
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
619
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
620
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
621
  </TR>
622
</TABLE>
623
</TD>
624
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
625
</EM>
626
</TD>
627
</TR>
628

    
629
<TR>
630
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
631
&nbsp;<A HREF="../../../org/cresques/px/Drawable.html" title="interface in org.cresques.px"><B>PREV CLASS</B></A>&nbsp;
632
&nbsp;<A HREF="../../../org/cresques/px/Extent.Has.html" title="interface in org.cresques.px"><B>NEXT CLASS</B></A></FONT></TD>
633
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
634
  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
635
&nbsp;<A HREF="Extent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
636
&nbsp;<SCRIPT type="text/javascript">
637
  <!--
638
  if(window==top) {
639
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
640
  }
641
  //-->
642
</SCRIPT>
643
<NOSCRIPT>
644
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
645
</NOSCRIPT>
646

    
647
</FONT></TD>
648
</TR>
649
<TR>
650
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
651
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
652
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
653
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
654
</TR>
655
</TABLE>
656
<A NAME="skip-navbar_bottom"></A>
657
<!-- ======== END OF BOTTOM NAVBAR ======= -->
658

    
659
<HR>
660

    
661
</BODY>
662
</HTML>