|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.util.ADFUtil
public class ADFUtil
This class contains the utility methods that can be used within the ADF core objects.
| Method Summary | ||
|---|---|---|
static
|
copy(T src)
Create a copy of the specified Serializable object. |
|
static boolean |
isGeoTransformAvailable(WebSpatialReference sr1,
WebSpatialReference sr2)
Indicates whether a geotransformation is available between these two spatial references. |
|
static WebExtent |
reaspect(WebExtent extent,
double width,
double height)
Adjusts the current envelope based on the aspect ratio of the given width and height. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WebExtent reaspect(WebExtent extent,
double width,
double height)
extent - the extent to be reaspectwidth - the image width in pixels.height - the image height in pixels.
public static <T extends Serializable> T copy(T src)
throws ADFException
src - the object to create a copy
ADFException
public static boolean isGeoTransformAvailable(WebSpatialReference sr1,
WebSpatialReference sr2)
WebContext can be
safely reprojected to a new spatial reference.
sr1 - from spatial referencesr2 - to spatial reference
WebContext.setSpatialReference(WebSpatialReference)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||