| java.lang.Object org.geotools.resources.BoundingBoxes
BoundingBoxes | final public class BoundingBoxes (Code) | | Provides convenience methods for
.
This is mostly a helper class for
GeographicBoundingBoxImpl ; users should not use this
class directly.
since: 2.4 version: $Id: BoundingBoxes.java 26378 2007-07-30 21:14:35Z desruisseaux $ author: Martin Desruisseaux author: Touraïvane |
Method Summary | |
public static void | copy(Envelope envelope, GeographicBoundingBoxImpl box) Initialize a geographic bounding box from the specified envelope. | public static String | toString(GeographicBoundingBox box, String pattern, Locale locale) Returns a string representation of the specified extent using the specified angle
pattern and locale. |
copy | public static void copy(Envelope envelope, GeographicBoundingBoxImpl box) throws TransformException(Code) | | Initialize a geographic bounding box from the specified envelope. If the envelope contains
a CRS, then the bounding box will be projected to the
CRS. Otherwise, the envelope is assumed already in WGS 84 CRS.
|
toString | public static String toString(GeographicBoundingBox box, String pattern, Locale locale)(Code) | | Returns a string representation of the specified extent using the specified angle
pattern and locale. See
AngleFormat for a description of angle patterns.
Parameters: box - The bounding box to format. Parameters: pattern - The angle pattern (e.g. DD°MM'SS.s" . Parameters: locale - The locale, or null for the default one. |
|
|