📄 envelope2d.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/Envelope2D.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> object)</CODE><BR> Compares the specified object with this envelope for equality.</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/Envelope2D.html#getCenter(int)">getCenter</A></B>(int dimension)</CODE><BR> Returns the center ordinate along the specified dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> CoordinateReferenceSystem</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/Envelope2D.html#getCoordinateReferenceSystem()">getCoordinateReferenceSystem</A></B>()</CODE><BR> Returns the coordinate reference system in which the coordinates are given.</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/Envelope2D.html#getDimension()">getDimension</A></B>()</CODE><BR> Returns the number of dimensions.</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/Envelope2D.html#getLength(int)">getLength</A></B>(int dimension)</CODE><BR> Returns the envelope length along the specified dimension. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> DirectPosition</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/Envelope2D.html#getLowerCorner()">getLowerCorner</A></B>()</CODE><BR> A coordinate position consisting of all the minimal ordinates for each dimension for all points within the .</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/Envelope2D.html#getMaximum(int)">getMaximum</A></B>(int dimension)</CODE><BR> Returns the maximal ordinate along the specified dimension.</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/Envelope2D.html#getMinimum(int)">getMinimum</A></B>(int dimension)</CODE><BR> Returns the minimal ordinate along the specified dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> DirectPosition</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/geometry/Envelope2D.html#getUpperCorner()">getUpperCorner</A></B>()</CODE><BR> A coordinate position consisting of all the maximal ordinates for each dimension for all points within the .</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/Envelope2D.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns a hash value for this envelope. </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/Envelope2D.html#setCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem)">setCoordinateReferenceSystem</A></B>(CoordinateReferenceSystem crs)</CODE><BR> Set the coordinate reference system in which the coordinate are given.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Rectangle2D.Double"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html" title="class or interface in java.awt.geom">Rectangle2D.Double</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#createIntersection(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">createIntersection</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#createUnion(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">createUnion</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#getBounds2D()" title="class or interface in java.awt.geom">getBounds2D</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#getHeight()" title="class or interface in java.awt.geom">getHeight</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#getWidth()" title="class or interface in java.awt.geom">getWidth</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#getX()" title="class or interface in java.awt.geom">getX</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#getY()" title="class or interface in java.awt.geom">getY</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#isEmpty()" title="class or interface in java.awt.geom">isEmpty</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#outcode(double, double)" title="class or interface in java.awt.geom">outcode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#setRect(double, double, double, double)" title="class or interface in java.awt.geom">setRect</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#setRect(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">setRect</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#toString()" title="class or interface in java.awt.geom">toString</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Rectangle2D"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#add(double, double)" title="class or interface in java.awt.geom">add</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#add(java.awt.geom.Point2D)" title="class or interface in java.awt.geom">add</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#add(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">add</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#contains(double, double)" title="class or interface in java.awt.geom">contains</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#contains(double, double, double, double)" title="class or interface in java.awt.geom">contains</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#getPathIterator(java.awt.geom.AffineTransform)" title="class or interface in java.awt.geom">getPathIterator</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#getPathIterator(java.awt.geom.AffineTransform, double)" title="class or interface in java.awt.geom">getPathIterator</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#intersect(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">intersect</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#intersects(double, double, double, double)" title="class or interface in java.awt.geom">intersects</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#intersectsLine(double, double, double, double)" title="class or interface in java.awt.geom">intersectsLine</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#intersectsLine(java.awt.geom.Line2D)" title="class or interface in java.awt.geom">intersectsLine</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#outcode(java.awt.geom.Point2D)" title="class or interface in java.awt.geom">outcode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#setFrame(double, double, double, double)" title="class or interface in java.awt.geom">setFrame</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html#union(java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D, java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">union</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_RectangularShape"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html" title="class or interface in java.awt.geom">RectangularShape</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#clone()" title="class or interface in java.awt.geom">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#contains(java.awt.geom.Point2D)" title="class or interface in java.awt.geom">contains</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#contains(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">contains</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getBounds()" title="class or interface in java.awt.geom">getBounds</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getCenterX()" title="class or interface in java.awt.geom">getCenterX</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getCenterY()" title="class or interface in java.awt.geom">getCenterY</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getFrame()" title="class or interface in java.awt.geom">getFrame</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getMaxX()" title="class or interface in java.awt.geom">getMaxX</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getMaxY()" title="class or interface in java.awt.geom">getMaxY</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getMinX()" title="class or interface in java.awt.geom">getMinX</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#getMinY()" title="class or interface in java.awt.geom">getMinY</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#intersects(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">intersects</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Point2D, java.awt.geom.Dimension2D)" title="class or interface in java.awt.geom">setFrame</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrame(java.awt.geom.Rectangle2D)" title="class or interface in java.awt.geom">setFrame</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrameFromCenter(double, double, double, double)" title="class or interface in java.awt.geom">setFrameFromCenter</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrameFromCenter(java.awt.geom.Point2D, java.awt.geom.Point2D)" title="class or interface in java.awt.geom">setFrameFromCenter</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrameFromDiagonal(double, double, double, double)" title="class or interface in java.awt.geom">setFrameFromDiagonal</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/RectangularShape.html#setFrameFromDiagonal(java.awt.geom.Point2D, java.awt.geom.Point2D)" title="class or interface in java.awt.geom">setFrameFromDiagonal</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><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#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#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#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> <A NAME="methods_inherited_from_class_Cloneable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface Cloneable</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Envelope2D(org.opengis.spatialschema.geometry.Envelope)"><!-- --></A><H3>Envelope2D</H3><PRE>public <B>Envelope2D</B>(Envelope envelope)</PRE><DL><DD>Constructs two-dimensional envelope defined by an other <CODE>Envelope</CODE>.<P></DL><HR><A NAME="Envelope2D(org.opengis.referencing.crs.CoordinateReferenceSystem, java.awt.geom.Rectangle2D)"><!-- --></A><H3>Envelope2D</H3><PRE>public <B>Envelope2D</B>(CoordinateReferenceSystem crs, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> rect)</PRE><DL><DD>Constructs two-dimensional envelope defined by an other <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom"><CODE>Rectangle2D</CODE></A>.<P></DL><HR><A NAME="Envelope2D(org.opengis.referencing.crs.CoordinateReferenceSystem, double, double, double, double)"><!-- --></A><H3>Envelope2D</H3><PRE>public <B>Envelope2D</B>(CoordinateReferenceSystem crs, double x, double y, double width, double height)</PRE><DL><DD>Constructs two-dimensional envelope defined by the specified coordinates. Despite their name, the (<var>x</var>,<var>y</var>) coordinates don't need to be oriented toward (East, North). Those parameter names simply match the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#x" title="class or interface in java.awt.geom">x</A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#y" title="class or interface in java.awt.geom">y</A> fields. The actual axis orientations are determined by the specified CRS. See the <A HREF="../../../org/geotools/geometry/Envelope2D.html" title="class in org.geotools.geometry">class javadoc</A> for details.<P></DL><HR><A NAME="Envelope2D(org.geotools.geometry.DirectPosition2D, org.geotools.geometry.DirectPosition2D)"><!-- --></A><H3>Envelope2D</H3><PRE>public <B>Envelope2D</B>(<A HREF="../../../org/geotools/geometry/DirectPosition2D.html" title="class in org.geotools.geometry">DirectPosition2D</A> minDP, <A HREF="../../../org/geotools/geometry/DirectPosition2D.html" title="class in org.geotools.geometry">DirectPosition2D</A> maxDP) throws MismatchedReferenceSystemException</PRE><DL><DD>Constructs two-dimensional envelope defined by the specified coordinates. Despite their name, the (<var>x</var>,<var>y</var>) coordinates don't need to be oriented toward (East, North). Those parameter names simply match the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#x" title="class or interface in java.awt.geom">x</A> and <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.Double.html#y" title="class or interface in java.awt.geom">y</A> fields. The actual axis orientations are determined by the specified CRS. See the <A HREF="../../../org/geotools/geometry/Envelope2D.html" title="class in org.geotools.geometry">class javadoc</A> for details. <p> The and arguments usually contains the minimal and maximal ordinate values respectively, but this is not mandatory. The ordinates will be rearanged as needed.<P><DT><B>Parameters:</B><DD><CODE>minDP</CODE> - The fist position.<DD><CODE>maxDP</CODE> - The second position.<DT><B>Throws:</B><DD><CODE>MismatchedReferenceSystemException</CODE> - if the two positions don't use the same CRS.<DT><B>Since:</B></DT> <DD>2.4</DD></DL><!-- ============ 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="getCoordinateReferenceSystem()"><!-- --></A><H3>getCoordinateReferenceSystem</H3><PRE>public final CoordinateReferenceSystem <B>getCoordinateReferenceSystem</B>()</PRE><DL><DD>Returns the coordinate reference system in which the coordinates are given.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The coordinate reference system, or .</DL></DD></DL><HR><A NAME="setCoordinateReferenceSystem(org.opengis.referencing.crs.CoordinateReferenceSystem)"><!-- --></A><H3>setCoordinateReferenceSystem</H3><PRE>public void <B>setCoordinateReferenceSystem</B>(CoordinateReferenceSystem crs)</PRE><DL><DD>Set the coordinate reference system in which the coordinate are given.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -