00001 #ifndef FdoBulkCopyCSWrapperInterface_H
00002 #define FdoBulkCopyCSWrapperInterface_H
00003
00004
00005 ///<summary>A bulk copy CS warapper interface.</summary>
00006 class FdoBulkCopyCSWrapperInterface
00007 {
00008 public:
00009 /// \brief
00010 /// Default destructor for this class.
00011 ///
00012 /// \return
00013 /// Returns nothing
00014 ///
00015 virtual ~FdoBulkCopyCSWrapperInterface() {};
00016
00017 ///////////////////////////////////////////////////////////////////////////
00018 ///<summary>
00019 /// Transforms the X and Y ordinates.
00020 ///</summary>
00021 ///<param name="x">
00022 /// The X ordinate to transform.
00023 ///</param>
00024 ///<param name="y">
00025 /// The Y ordinate to transform.
00026 ///</param>
00027 ///<returns>
00028 /// Nothing.
00029 ///</returns>
00030 virtual bool Transform(double& x, double& y) = 0;
00031
00032
00033 ///////////////////////////////////////////////////////////////////////////
00034 ///<summary>
00035 /// Transforms the X, Y, and Z ordinates.
00036 ///</summary>
00037 ///<param name="x">
00038 /// The X ordinate to transform.
00039 ///</param>
00040 ///<param name="y">
00041 /// The Y ordinate to transform.
00042 ///</param>
00043 ///<param name="z">
00044 /// The Z ordinate to transform.
00045 ///</param>
00046 ///<returns>
00047 /// Nothing.
00048 ///</returns>
00049 virtual bool Transform(double& x, double& y, double& z) = 0;
00050
00051 ///////////////////////////////////////////////////////////////////////////
00052 ///<summary>
00053 /// Setup a coordinate transformation
00054 ///</summary>
00055 ///<param name="sourceWkt">
00056 /// The source Wkt.
00057 ///</param>
00058 ///<param name="targetWkt">
00059 /// The target Wkt.
00060 ///</param>
00061 ///<returns>
00062 /// Returns true if successfuly.
00063 ///</returns>
00064 virtual bool SetupTransformation( const wchar_t *sourceWkt, const wchar_t *targetWkt ) = 0;
00065
00066 ///////////////////////////////////////////////////////////////////////////
00067 ///<summary>
00068 /// Converts a wkt to the type of wkt specified
00069 ///</summary>
00070 ///<param name="wktFavor">
00071 /// The type of wkt to convert to. Currently, the only supported type is "WKTFLAVOR_ESRI".
00072 ///</param>
00073 ///<param name="inputWkt">
00074 /// The wkt to convert.
00075 ///</param>
00076 ///</param>
00077 ///<returns>
00078 /// The wkt.
00079 ///</returns>
00080 virtual wchar_t *ConvertToWkt(const wchar_t *wktFavor, const wchar_t *inputWkt) = 0;
00081 };
00082
00083 #endif