📄 geometrybuilder.html
字号:
<TD><B>Methods inherited from class <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></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="factory"><!-- --></A><H3>factory</H3><PRE>protected <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/GeometryFactory.html" title="class or interface in com.vividsolutions.jts.geom">GeometryFactory</A> <B>factory</B></PRE><DL><DD>JTS geometry factory subclasses use to map SeShapes to JTS ones<P><DL></DL></DL><!-- ========= 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="construct(com.esri.sde.sdk.client.SeShape)"><!-- --></A><H3>construct</H3><PRE>public <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>construct</B>(SeShape shape) throws SeException, <A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></PRE><DL><DD>Takes an ArcSDE's <code>SeShape</code> and builds a JTS Geometry. The geometry type constructed depends on this <code>GeometryBuilder</code> specialized subclass<P><DD><DL><DT><B>Parameters:</B><DD><CODE>shape</CODE> - the ESRI's ArcSDE java api shape upon wich to create the new JTS geometry<DT><B>Returns:</B><DD>the type of JTS Geometry this subclass instance is specialized for or an empty geometry of the same class if <code>shape.isNil()</code><DT><B>Throws:</B><DD><CODE>SeException</CODE> - if it occurs fetching the coordinates array from <code>shape</code><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - if the <code>com.vividsolutions.jts.geom.GeometryFactory</code> this builder is backed by can't create the <code>com.vividsolutions.jts.geom.Geometry</code> with the <code>com.vividsolutions.jts.geom.Coordinate[]</code> provided by <code>newGeometry</code></DL></DD></DL><HR><A NAME="constructShape(com.vividsolutions.jts.geom.Geometry, com.esri.sde.sdk.client.SeCoordinateReference)"><!-- --></A><H3>constructShape</H3><PRE>public SeShape <B>constructShape</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> geometry, SeCoordinateReference seSrs) throws <A HREF="../../../../org/geotools/arcsde/data/GeometryBuildingException.html" title="class in org.geotools.arcsde.data">GeometryBuildingException</A></PRE><DL><DD>Creates the ArcSDE Java API representation of a <code>Geometry</code> object in its shape format, suitable to filter expressions as the SDE API expects<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geometry</CODE> - the JTS Geometry object to get the SDE representation from<DD><CODE>seSrs</CODE> - Coordinate Reference System of the underlying <code>SeLayer</code> object for wich the <code>SeShape</code> is constructed.<DT><B>Returns:</B><DD>the <code>SeShape</code> representation of passed <code>Geometry</code><DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/arcsde/data/GeometryBuildingException.html" title="class in org.geotools.arcsde.data">GeometryBuildingException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="newGeometry(double[][][])"><!-- --></A><H3>newGeometry</H3><PRE>protected abstract <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>newGeometry</B>(double[][][] coords) throws <A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></PRE><DL><DD>Builds a JTS Geometry who't type is given by the <code>GeometryBuilder</code> subclass instance specialization that implements it<P><DD><DL><DT><B>Parameters:</B><DD><CODE>coords</CODE> - <code>SeShape</code>'s coordinate array to build the geometry from<DT><B>Returns:</B><DD>the JST form of the passed geometry coordinates<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/geotools/data/DataSourceException.html" title="class in org.geotools.data">DataSourceException</A></CODE> - if an error occurs while creating the JTS Geometry</DL></DD></DL><HR><A NAME="getEmpty()"><!-- --></A><H3>getEmpty</H3><PRE>protected <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>getEmpty</B>()</PRE><DL><DD>returns an empty JTS geometry who's type is given by the <code>GeometryBuilder</code> subclass instance specialization that implements it. <p> this method is called in case that <code>SeShape.isNil() == true</code> </p><P><DD><DL><DT><B>Returns:</B><DD>an empty JTS geometry<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="toCoords(double[])"><!-- --></A><H3>toCoords</H3><PRE>protected <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A>[] <B>toCoords</B>(double[] coordList)</PRE><DL><DD>Builds an array of JTS <code>Coordinate</code> instances that's geometrically equals to the <code>SeShape</code> single coordinates array passed as argument.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>coordList</CODE> - array of coordinates of a single shape part to build a <code>Coordinate</code> from<DT><B>Returns:</B><DD>a geometrically equal to <code>coordList</code> array of <code>Coordinate</code> instances</DL></DD></DL><HR><A NAME="toPointsArray(com.vividsolutions.jts.geom.Coordinate[])"><!-- --></A><H3>toPointsArray</H3><PRE>protected SDEPoint[] <B>toPointsArray</B>(<A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Coordinate.html" title="class or interface in com.vividsolutions.jts.geom">Coordinate</A>[] coords)</PRE><DL><DD>DOCUMENT ME!<P><DD><DL><DT><B>Parameters:</B><DD><CODE>coords</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="builderFor(java.lang.Class)"><!-- --></A><H3>builderFor</H3><PRE>public static <A HREF="../../../../org/geotools/arcsde/data/GeometryBuilder.html" title="class in org.geotools.arcsde.data">GeometryBuilder</A> <B>builderFor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> jtsGeometryClass) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></PRE><DL><DD>Factory method that returns an instance of <code>GeometryBuilder</code> specialized in contructing JTS geometries of the JTS Geometry class passed as argument. Note that <code>jtsGeometryClass</code> must be one of the supported concrete JTS Geometry classes.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>jtsGeometryClass</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>jtsGeometryClass</code> is not a concrete JTS <code>Geometry</code> class (like <code>com.vividsolutions.jts.geom.MultiPoint.class</code> i.e.)</DL></DD></DL><HR><A NAME="defaultValueFor(java.lang.Class)"><!-- --></A><H3>defaultValueFor</H3><PRE>public static <A HREF="http://www.jump-project.org/docs/jts/1.7/api/com/vividsolutions/jts/geom/Geometry.html" title="class or interface in com.vividsolutions.jts.geom">Geometry</A> <B>defaultValueFor</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> geoClass)</PRE><DL><DD>DOCUMENT ME!<P><DD><DL><DT><B>Parameters:</B><DD><CODE>geoClass</CODE> - DOCUMENT ME!<DT><B>Returns:</B><DD>DOCUMENT ME!<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - DOCUMENT ME!</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/GeometryBuilder.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/arcsde/data/ArcSDEQuery.FilterSet.html" title="class in org.geotools.arcsde.data"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="GeometryBuilder.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> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | 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 + -