📄 coordinateaccess.html
字号:
<HR><A NAME="toAttributeArray(int)"><!-- --></A><H3>toAttributeArray</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>toAttributeArray</B>(int attribute)</PRE><DL><DD>toAttributeArray purpose. <p> Description ... </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attribute</CODE> - Between 0 and getNumAttrributes()<DT><B>Returns:</B><DD>an array of attributes</DL></DD></DL><HR><A NAME="setOrdinateArray(int, double[])"><!-- --></A><H3>setOrdinateArray</H3><PRE>public void <B>setOrdinateArray</B>(int ordinate, double[] ordinateArray)</PRE><DL><DD>Supplies an array of ordiantes. <p> The ordinateArray should be the same length as the CoordinateSequence.<br> ordinate should be between 0 and getDimension().<br> If the attributes are doubles as well, then ordinate can be as great as<br> getDimension() + getNumAttributes(). </p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setAttributeArray(int, java.lang.Object)"><!-- --></A><H3>setAttributeArray</H3><PRE>public void <B>setAttributeArray</B>(int attribute, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> attributeArray)</PRE><DL><DD>setAttributeArray purpose. <p> Description ... </p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attribute</CODE> - between 0 and getNumAttributes()<DD><CODE>attributeArray</CODE> - May be an object or primative array</DL></DD></DL><HR><A NAME="toOrdinateArrays()"><!-- --></A><H3>toOrdinateArrays</H3><PRE>public double[][] <B>toOrdinateArrays</B>()</PRE><DL><DD>Retrieve ordinate information (an array of ordinates for each coordinate). <p> Example: (x,y,m,g) getDimension()==2, getNumAttributes()==2 </p> <pre><code> [ [ x1, x2,...,xN], [ y1, y2,...,yN] ] </code></pre><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>column major ordinate arrays (these are spatially significant)</DL></DD></DL><HR><A NAME="toAttributeArrays()"><!-- --></A><H3>toAttributeArrays</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] <B>toAttributeArrays</B>()</PRE><DL><DD>Retrieve Attribute information (an array of attributes for each coordiante). <p> Example: (x,y,m,g) getDimension()==2, getAttributes()==2 </p> <pre><code> [ [ m1, m2,...,mN], [ g1, g2,..., gN] ] </code></pre> <p></p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Attribute Arrays, may be object or primative arrays</DL></DD></DL><HR><A NAME="setCoordinateArrays(double[][], java.lang.Object[])"><!-- --></A><H3>setCoordinateArrays</H3><PRE>public void <B>setCoordinateArrays</B>(double[][] ordinateArrays, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] attributeArrays)</PRE><DL><DD>Completely replace sequence with the provided information. <p> Example: (x,y,m,g) getDimension()==2, getNumAttributes()==2 </p> <pre><code> <b>dimensions</b>:[ [ x1, x2,...,xN], [ y1, y2,...,yN] ] <b>attributes</b>:[ [ m1, m2,...,mN], [ g1, g2,..., gN] ] </code></pre><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>ordinateArrays</CODE> - dimensions column major ordinate arrays (these are spatially significant)<DD><CODE>attributeArrays</CODE> - Indiviual attribute arrays may be primative or object arrays</DL></DD></DL><HR><A NAME="setAt(int, double[], java.lang.Object[])"><!-- --></A><H3>setAt</H3><PRE>public void <B>setAt</B>(int coordinate, double[] ordinates, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] attributes)</PRE><DL><DD>Allows modification of a single coordinate (including attribute values). <p> Normal Use: where D is getDimensions() and N is getNumAttributes(): </p> <pre><code> <b>dimensions</b>: [ ordX, ordY, ..., ordD ] <b>attributes</b>: [ atr1, atr2, ...., atrN ] </code></pre> <p> When dealing with attributes that are all double values the ordinates array may be used to set both ordinates and attribute values. </p> <p> Optimized Use: where D is getDimensions() and N is getNumAttributes(): </p> <pre><code> <b>dimensions</b>: [ ordX, ordY, ..., ordD, atr1, atr2, ... attrN ] <b>attributes</b>: null </code></pre> <p></p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>coordinate</CODE> - index of coordiante to be modified<DD><CODE>ordinates</CODE> - array ordinate values (may be extended with attribute values)<DD><CODE>attributes</CODE> - array of attribute values, or null is ordinates has been extended</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/CoordinateAccess.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 <A HREF="../../../../../org/geotools/data/oracle/sdo/CoordinateAccessFactory.html" title="interface in org.geotools.data.oracle.sdo"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="CoordinateAccess.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 + -