| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wcts.data.TransformableData<javax.vecmath.Point3d>
org.deegree.ogcwebservices.wcts.data.SimpleData
public class SimpleData
SimpleData takes a list of points which will be transformed.
| Constructor Summary | |
|---|---|
SimpleData()
using default values, cs="," and ts='space'  | 
|
SimpleData(List<javax.vecmath.Point3d> transformableData,
                     String cs,
                     String ts)
Creates a simple data instance.  | 
|
| Method Summary | |
|---|---|
 void | 
doTransform(CoordinateSystem sourceCRS,
                       CoordinateSystem targetCRS,
                       boolean enableLogging)
This function should implement the transforming of the underlying data.  | 
 void | 
doTransform(Transformation transformation,
                       boolean enableLogging)
This function should implement the transforming of the underlying data.  | 
 String | 
getCoordinateSeparator()
 | 
 List<javax.vecmath.Point3d> | 
getTransformedData()
 | 
 String | 
getTupleSeparator()
 | 
 boolean | 
hasData()
 | 
static List<javax.vecmath.Point3d> | 
parseData(String simpleData,
                   int sourceDim,
                   String cs,
                   String ts,
                   String ds)
Parses a String of data into the appropriate Point3d, according to the given cs, ts and coordinate dimension.  | 
| Methods inherited from class org.deegree.ogcwebservices.wcts.data.TransformableData | 
|---|
getGeotransformer, getGeotransformer | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SimpleData(List<javax.vecmath.Point3d> transformableData,
                  String cs,
                  String ts)
           throws IllegalArgumentException
transformableData - cs - the coordinate separatorts - the tuple separator
IllegalArgumentException - if either one of the crs's are null.public SimpleData()
| Method Detail | 
|---|
public void doTransform(CoordinateSystem sourceCRS,
                        CoordinateSystem targetCRS,
                        boolean enableLogging)
TransformableData
doTransform in class TransformableData<javax.vecmath.Point3d>sourceCRS - of the incoming pointstargetCRS - of the outgoing pointsenableLogging - if true the implementing class should log all transformations.
public void doTransform(Transformation transformation,
                        boolean enableLogging)
                 throws OGCWebServiceException
TransformableData
doTransform in class TransformableData<javax.vecmath.Point3d>transformation - to use for the transform.enableLogging - if true the implementing class should log all transformations.
OGCWebServiceException - if an exception occurs while transforming.public boolean hasData()
public List<javax.vecmath.Point3d> getTransformedData()
getTransformedData in class TransformableData<javax.vecmath.Point3d>Geometry
         (GeometyData), or Point3d (SimpleData).public final String getTupleSeparator()
public final String getCoordinateSeparator()
public static List<javax.vecmath.Point3d> parseData(String simpleData,
                                                    int sourceDim,
                                                    String cs,
                                                    String ts,
                                                    String ds)
simpleData - a String containing the datasourceDim - the dimension of the source coordinate system, in which the points are defined.cs - the coordinate separator.ts - the tuple separator.ds - the decimal separator currently not evaluated.
null
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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://www.deegree.org