root / trunk / docs / FMap / fmap-api / com / iver / cit / gvsig / fmap / drivers / shp / write / SHPShape.html @ 11445
History | View | Annotate | Download (12.7 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_04) on Mon Feb 14 08:45:49 CET 2005 -->
|
6 |
<TITLE>
|
7 |
SHPShape (FMap API) |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="com.iver.cit.gvsig.fmap.drivers.shp.write.SHPShape 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="SHPShape (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 |
PREV CLASS |
53 |
NEXT CLASS</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="SHPShape.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: FIELD | 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.drivers.shp.write</FONT>
|
85 |
<BR>
|
86 |
Interface SHPShape</H2>
|
87 |
<DL>
|
88 |
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPMultiLine.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write">SHPMultiLine</A>, <A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPMultiPoint.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write">SHPMultiPoint</A>, <A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPPoint.html" title="class in com.iver.cit.gvsig.fmap.drivers.shp.write">SHPPoint</A></DD> |
89 |
</DL>
|
90 |
<HR>
|
91 |
<DL>
|
92 |
<DT>public interface <B>SHPShape</B></DL> |
93 |
|
94 |
<P>
|
95 |
Interfaz de todos los tipos de formato shape. |
96 |
<P>
|
97 |
|
98 |
<P>
|
99 |
<DL>
|
100 |
<DT><B>Author:</B></DT> |
101 |
<DD>Vicente Caballero Navarro</DD> |
102 |
</DL>
|
103 |
<HR>
|
104 |
|
105 |
<P>
|
106 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
107 |
|
108 |
|
109 |
<!-- =========== FIELD SUMMARY =========== -->
|
110 |
|
111 |
|
112 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
113 |
|
114 |
|
115 |
<!-- ========== METHOD SUMMARY =========== -->
|
116 |
|
117 |
<A NAME="method_summary"><!-- --></A> |
118 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
119 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
120 |
<TD COLSPAN=2><FONT SIZE="+2"> |
121 |
<B>Method Summary</B></FONT></TD> |
122 |
</TR>
|
123 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
124 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
125 |
<CODE> int</CODE></FONT></TD> |
126 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPShape.html#getLength(com.iver.cit.gvsig.fmap.core.IGeometry)">getLength</A></B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> fgeometry)</CODE> |
127 |
|
128 |
<BR>
|
129 |
Devuelve el tama?o de la geometr?a.</TD> |
130 |
</TR>
|
131 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
132 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
133 |
<CODE> int</CODE></FONT></TD> |
134 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPShape.html#getShapeType()">getShapeType</A></B>()</CODE> |
135 |
|
136 |
<BR>
|
137 |
Devuelve el tipo de shape de que se trata.</TD> |
138 |
</TR>
|
139 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
140 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
141 |
<CODE> void</CODE></FONT></TD> |
142 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPShape.html#obtainsPoints(com.iver.cit.gvsig.fmap.core.GeneralPathXIterator)">obtainsPoints</A></B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class in com.iver.cit.gvsig.fmap.core">GeneralPathXIterator</A> iter)</CODE> |
143 |
|
144 |
<BR>
|
145 |
Obtiene los puntos y partes del GeneralPathXIterator del shape.</TD> |
146 |
</TR>
|
147 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
148 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
149 |
<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> |
150 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPShape.html#read(java.nio.MappedByteBuffer, int)">read</A></B>(java.nio.MappedByteBuffer buffer, |
151 |
int type)</CODE> |
152 |
|
153 |
<BR>
|
154 |
Lee del buffer el shape y crea una nueva geometr?a.</TD> |
155 |
</TR>
|
156 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
157 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
158 |
<CODE> void</CODE></FONT></TD> |
159 |
<TD><CODE><B><A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/drivers/shp/write/SHPShape.html#write(java.nio.ByteBuffer, com.iver.cit.gvsig.fmap.core.IGeometry)">write</A></B>(java.nio.ByteBuffer buffer, |
160 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> geometry)</CODE> |
161 |
|
162 |
<BR>
|
163 |
Escribe en el buffer la geometr?a que se pasa como par?metro.</TD> |
164 |
</TR>
|
165 |
</TABLE>
|
166 |
|
167 |
<P>
|
168 |
|
169 |
<!-- ============ FIELD DETAIL =========== -->
|
170 |
|
171 |
|
172 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
173 |
|
174 |
|
175 |
<!-- ============ METHOD DETAIL ========== -->
|
176 |
|
177 |
<A NAME="method_detail"><!-- --></A> |
178 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
179 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
180 |
<TD COLSPAN=1><FONT SIZE="+2"> |
181 |
<B>Method Detail</B></FONT></TD> |
182 |
</TR>
|
183 |
</TABLE>
|
184 |
|
185 |
<A NAME="getShapeType()"><!-- --></A><H3> |
186 |
getShapeType</H3>
|
187 |
<PRE>
|
188 |
public int <B>getShapeType</B>()</PRE> |
189 |
<DL>
|
190 |
<DD>Devuelve el tipo de shape de que se trata.
|
191 |
<P>
|
192 |
<DD><DL> |
193 |
|
194 |
<DT><B>Returns:</B><DD>Tipo de shape.</DL> |
195 |
</DD>
|
196 |
</DL>
|
197 |
<HR>
|
198 |
|
199 |
<A NAME="read(java.nio.MappedByteBuffer, int)"><!-- --></A><H3> |
200 |
read</H3>
|
201 |
<PRE>
|
202 |
public <A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> <B>read</B>(java.nio.MappedByteBuffer buffer, |
203 |
int type)</PRE> |
204 |
<DL>
|
205 |
<DD>Lee del buffer el shape y crea una nueva geometr?a.
|
206 |
<P>
|
207 |
<DD><DL> |
208 |
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - Buffer de donde se lee.<DD><CODE>type</CODE> - Tipo de shape en concreto. |
209 |
<DT><B>Returns:</B><DD>Nueva geometr?a.</DL> |
210 |
</DD>
|
211 |
</DL>
|
212 |
<HR>
|
213 |
|
214 |
<A NAME="write(java.nio.ByteBuffer, com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3> |
215 |
write</H3>
|
216 |
<PRE>
|
217 |
public void <B>write</B>(java.nio.ByteBuffer buffer, |
218 |
<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> geometry)</PRE> |
219 |
<DL>
|
220 |
<DD>Escribe en el buffer la geometr?a que se pasa como par?metro.
|
221 |
<P>
|
222 |
<DD><DL> |
223 |
<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - Buffer donde escribir.<DD><CODE>geometry</CODE> - Geometr?a a escribir.</DL> |
224 |
</DD>
|
225 |
</DL>
|
226 |
<HR>
|
227 |
|
228 |
<A NAME="getLength(com.iver.cit.gvsig.fmap.core.IGeometry)"><!-- --></A><H3> |
229 |
getLength</H3>
|
230 |
<PRE>
|
231 |
public int <B>getLength</B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/IGeometry.html" title="interface in com.iver.cit.gvsig.fmap.core">IGeometry</A> fgeometry)</PRE> |
232 |
<DL>
|
233 |
<DD>Devuelve el tama?o de la geometr?a.
|
234 |
<P>
|
235 |
<DD><DL> |
236 |
<DT><B>Parameters:</B><DD><CODE>fgeometry</CODE> - Geometr?a a medir. |
237 |
<DT><B>Returns:</B><DD>Tama?o de la geometr?a.</DL> |
238 |
</DD>
|
239 |
</DL>
|
240 |
<HR>
|
241 |
|
242 |
<A NAME="obtainsPoints(com.iver.cit.gvsig.fmap.core.GeneralPathXIterator)"><!-- --></A><H3> |
243 |
obtainsPoints</H3>
|
244 |
<PRE>
|
245 |
public void <B>obtainsPoints</B>(<A HREF="../../../../../../../../com/iver/cit/gvsig/fmap/core/GeneralPathXIterator.html" title="class in com.iver.cit.gvsig.fmap.core">GeneralPathXIterator</A> iter)</PRE> |
246 |
<DL>
|
247 |
<DD>Obtiene los puntos y partes del GeneralPathXIterator del shape.
|
248 |
<P>
|
249 |
<DD><DL> |
250 |
<DT><B>Parameters:</B><DD><CODE>iter</CODE> - </DL> |
251 |
</DD>
|
252 |
</DL>
|
253 |
<!-- ========= END OF CLASS DATA ========= -->
|
254 |
<HR>
|
255 |
|
256 |
|
257 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
258 |
<A NAME="navbar_bottom"><!-- --></A> |
259 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
260 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
261 |
<TR>
|
262 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
263 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
264 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
265 |
<TR ALIGN="center" VALIGN="top"> |
266 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
267 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
268 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
269 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
270 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
271 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
272 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
273 |
</TR>
|
274 |
</TABLE>
|
275 |
</TD>
|
276 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
277 |
</EM>
|
278 |
</TD>
|
279 |
</TR>
|
280 |
|
281 |
<TR>
|
282 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
283 |
PREV CLASS |
284 |
NEXT CLASS</FONT></TD> |
285 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
286 |
<A HREF="../../../../../../../../index.html" target="_top"><B>FRAMES</B></A> |
287 |
<A HREF="SHPShape.html" target="_top"><B>NO FRAMES</B></A> |
288 |
<SCRIPT type="text/javascript"> |
289 |
<!--
|
290 |
if(window==top) {
|
291 |
document.writeln('<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
292 |
}
|
293 |
//-->
|
294 |
</SCRIPT>
|
295 |
<NOSCRIPT>
|
296 |
<A HREF="../../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
297 |
</NOSCRIPT>
|
298 |
|
299 |
</FONT></TD> |
300 |
</TR>
|
301 |
<TR>
|
302 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
303 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
304 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
305 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
306 |
</TR>
|
307 |
</TABLE>
|
308 |
<A NAME="skip-navbar_bottom"></A> |
309 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
310 |
|
311 |
<HR>
|
312 |
|
313 |
</BODY>
|
314 |
</HTML>
|