📄 csbuilder.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:32 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>CSBuilder (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.geometry.coordinatesequence.CSBuilder interface"><META NAME="keywords" CONTENT="start()"><META NAME="keywords" CONTENT="end()"><META NAME="keywords" CONTENT="setOrdinate()"><META NAME="keywords" CONTENT="getOrdinate()"><META NAME="keywords" CONTENT="getSize()"><META NAME="keywords" CONTENT="getDimension()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="CSBuilder (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CSBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="CSBuilder.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.geometry.coordinatesequence</FONT><BR>Interface CSBuilder</H2><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/geotools/geometry/coordinatesequence/DefaultCSBuilder.html" title="class in org.geotools.geometry.coordinatesequence">DefaultCSBuilder</A>, <A HREF="../../../../org/geotools/geometry/coordinatesequence/PackedCSBuilder.html" title="class in org.geotools.geometry.coordinatesequence">PackedCSBuilder</A></DD></DL><HR><DL><DT>public interface <B>CSBuilder</B></DL><P><DL><DT><B>Author:</B></DT> <DD>wolf TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates</DD><DT><B>Module:</B></DT><DD><CODE><B>module/main</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-main/"><CODE>gt2-main.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/main/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/module/main/src/org/geotools/geometry/coordinatesequence/CSBuilder.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequence.html" title="class or interface in com.vividsolutions.jts.geom">CoordinateSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#end()">end</A></B>()</CODE><BR> Stops the coordinate sequence building and returns the result</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#getDimension()">getDimension</A></B>()</CODE><BR> Returns the dimension of the coordinate sequence we are building, -1 if there is none</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#getOrdinate(int, int)">getOrdinate</A></B>(int ordinateIndex, int coordinateIndex)</CODE><BR> Gets an ordinate in the specified coordinate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#getSize()">getSize</A></B>()</CODE><BR> Returns the size of the coordinate sequence we are building, -1 if there is none</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int)">setOrdinate</A></B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequence.html" title="class or interface in com.vividsolutions.jts.geom">CoordinateSequence</A> sequence, double value, int ordinateIndex, int coordinateIndex)</CODE><BR> Utility method that allows to set an ordinate in an already built coordinate sequence Needed because the CoordinateSequence interface does not expose it</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#setOrdinate(double, int, int)">setOrdinate</A></B>(double value, int ordinateIndex, int coordinateIndex)</CODE><BR> Sets and ordinate in the specified coordinate</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/geometry/coordinatesequence/CSBuilder.html#start(int, int)">start</A></B>(int size, int dimensions)</CODE><BR> Starts the building of a new coordinate sequence</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="start(int, int)"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>(int size, int dimensions)</PRE><DL><DD>Starts the building of a new coordinate sequence<P><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - - the number of coordinates in the coordinate sequence<DD><CODE>dimensions</CODE> - - the dimension of the coordinates in the coordinate sequence, may be ignored if the coordinate sequence does not support variabile dimensions</DL></DD></DL><HR><A NAME="end()"><!-- --></A><H3>end</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequence.html" title="class or interface in com.vividsolutions.jts.geom">CoordinateSequence</A> <B>end</B>()</PRE><DL><DD>Stops the coordinate sequence building and returns the result<P><DD><DL></DL></DD></DL><HR><A NAME="setOrdinate(double, int, int)"><!-- --></A><H3>setOrdinate</H3><PRE>public void <B>setOrdinate</B>(double value, int ordinateIndex, int coordinateIndex)</PRE><DL><DD>Sets and ordinate in the specified coordinate<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - <DD><CODE>ordinateIndex</CODE> - <DD><CODE>coordinateIndex</CODE> - </DL></DD></DL><HR><A NAME="setOrdinate(com.vividsolutions.jts.geom.CoordinateSequence, double, int, int)"><!-- --></A><H3>setOrdinate</H3><PRE>public void <B>setOrdinate</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/CoordinateSequence.html" title="class or interface in com.vividsolutions.jts.geom">CoordinateSequence</A> sequence, double value, int ordinateIndex, int coordinateIndex)</PRE><DL><DD>Utility method that allows to set an ordinate in an already built coordinate sequence Needed because the CoordinateSequence interface does not expose it<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sequence</CODE> - <DD><CODE>value</CODE> - <DD><CODE>ordinateIndex</CODE> - <DD><CODE>coordinateIndex</CODE> - </DL></DD></DL><HR><A NAME="getOrdinate(int, int)"><!-- --></A><H3>getOrdinate</H3><PRE>public double <B>getOrdinate</B>(int ordinateIndex, int coordinateIndex)</PRE><DL><DD>Gets an ordinate in the specified coordinate<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ordinateIndex</CODE> - <DD><CODE>coordinateIndex</CODE> - </DL></DD></DL><HR><A NAME="getSize()"><!-- --></A><H3>getSize</H3><PRE>public int <B>getSize</B>()</PRE><DL><DD>Returns the size of the coordinate sequence we are building, -1 if there is none<P><DD><DL></DL></DD></DL><HR><A NAME="getDimension()"><!-- --></A><H3>getDimension</H3><PRE>public int <B>getDimension</B>()</PRE><DL><DD>Returns the dimension of the coordinate sequence we are building, -1 if there is none<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CSBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="CSBuilder.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -