📄 geometryconverter.html
字号:
<p> The alternative is to construct the array from a array of doubles, which does not record <code>NULL</code> NUMBERs.</p> <p> The results is an "MDSYS.SDO_ORDINATE_ARRAY"</p> <code><pre> list = c1(1,2,0), c2(3,4,Double.NaN) measures = {{5,6},{7,8} toORDINATE( list, measures, 2 ) = (1,2,5,7, 3,4,6,8) toORDINATE( list, measures, 3 ) = (1,2,0,5,7, 3,4,NULL,6,8) toORDINATE( list, null, 2 ) = (1,2, 3,4) </pre></code><P><DD><DL><DT><B>Parameters:</B><DD><CODE>list</CODE> - CoordinateList to be represented<DD><CODE>measures</CODE> - Per Coordiante Measures, <code>null</code> if not required<DD><CODE>D</CODE> - Dimension of Coordinates (limited to 2d, 3d)<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="toORDINATE(double[])"><!-- --></A><H3>toORDINATE</H3><PRE>protected final ARRAY <B>toORDINATE</B>(double[] ords) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="toATTRIBUTE(double[], java.lang.String)"><!-- --></A><H3>toATTRIBUTE</H3><PRE>protected final ARRAY <B>toATTRIBUTE</B>(double[] ords, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> desc) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="toNUMBER(double)"><!-- --></A><H3>toNUMBER</H3><PRE>protected final NUMBER <B>toNUMBER</B>(double number) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Convience method for NUMBER construction. <p> Double.NaN is represented as <code>NULL</code> to agree with JTS use.</p><P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="toARRAY(int[], java.lang.String)"><!-- --></A><H3>toARRAY</H3><PRE>protected final ARRAY <B>toARRAY</B>(int[] ints, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> dataType) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Convience method for ARRAY construction.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="toNUMBER(int)"><!-- --></A><H3>toNUMBER</H3><PRE>protected final NUMBER <B>toNUMBER</B>(int number)</PRE><DL><DD>Convience method for NUMBER construction<P><DD><DL></DL></DD></DL><HR><A NAME="toCHAR(java.lang.String)"><!-- --></A><H3>toCHAR</H3><PRE>protected final CHAR <B>toCHAR</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> s)</PRE><DL><DD>Convience method for CHAR construction<P><DD><DL></DL></DD></DL><HR><A NAME="asInteger(oracle.sql.Datum, int)"><!-- --></A><H3>asInteger</H3><PRE>protected int <B>asInteger</B>(Datum datum, int DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents datum as an int<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asDouble(oracle.sql.Datum, double)"><!-- --></A><H3>asDouble</H3><PRE>protected double <B>asDouble</B>(Datum datum, double DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents datum as a double<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asDoubleArray(oracle.sql.STRUCT, double)"><!-- --></A><H3>asDoubleArray</H3><PRE>protected double[] <B>asDoubleArray</B>(STRUCT struct, double DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents struct as a double[]<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asDoubleArray(oracle.sql.ARRAY, double)"><!-- --></A><H3>asDoubleArray</H3><PRE>protected double[] <B>asDoubleArray</B>(ARRAY array, double DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents array as a double[]<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asDoubleArray(oracle.sql.Datum[], double)"><!-- --></A><H3>asDoubleArray</H3><PRE>protected double[] <B>asDoubleArray</B>(Datum[] data, double DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents Datum[] as a double[]<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asIntArray(oracle.sql.ARRAY, int)"><!-- --></A><H3>asIntArray</H3><PRE>protected int[] <B>asIntArray</B>(ARRAY array, int DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></DL></DD></DL><HR><A NAME="asIntArray(oracle.sql.Datum[], int)"><!-- --></A><H3>asIntArray</H3><PRE>protected int[] <B>asIntArray</B>(Datum[] data, int DEFAULT) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></PRE><DL><DD>Presents Datum[] as a int[]<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/sql/SQLException.html" title="class or interface in java.sql">SQLException</A></CODE></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/GeometryConverter.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"> <A HREF="../../../../../org/geotools/data/oracle/sdo/Coordinates.html" title="class in org.geotools.data.oracle.sdo"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/data/oracle/sdo/OrdinateList.html" title="class 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="GeometryConverter.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -