| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.framework.xml.GeometryUtils
public class GeometryUtils
Utility methods for handling geometries within XSLT transformations
| Constructor Summary | |
|---|---|
GeometryUtils()
 | 
|
| Method Summary | |
|---|---|
static double | 
calcArea(Node node)
 | 
static double | 
calcOuterBoundaryLength(Node node)
 | 
static double | 
getCentroidX(Node node,
                         String targetCRS)
returns the centroid X coordinate of the geometry represented by the passed Node  | 
static double | 
getCentroidY(Node node,
                         String targetCRS)
returns the centroid Y coordinate of the geometry represented by the passed Node  | 
static String | 
getPolygonCoordinatesFromEnvelope(Node node)
 | 
static String | 
getPolygonInnerRing(Node node,
                                       int index,
                                       String sourceCRS,
                                       String targetCRS)
 | 
static String | 
getPolygonOuterRing(Node node,
                                       String sourceCRS,
                                       String targetCRS)
returns the coordinates of the out ring of a polygon as comma seperated list.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public GeometryUtils()
| Method Detail | 
|---|
public static String getPolygonCoordinatesFromEnvelope(Node node)
node - 
public static String getPolygonOuterRing(Node node,
                                         String sourceCRS,
                                         String targetCRS)
node - sourceCRS - targetCRS - 
public static String getPolygonInnerRing(Node node,
                                         int index,
                                         String sourceCRS,
                                         String targetCRS)
node - index - sourceCRS - targetCRS - 
public static double calcArea(Node node)
node - 
public static double calcOuterBoundaryLength(Node node)
node - 
public static double getCentroidX(Node node,
                                  String targetCRS)
node - targetCRS - 
public static double getCentroidY(Node node,
                                  String targetCRS)
node - targetCRS - 
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net