cgma
ParamTool.hpp
Go to the documentation of this file.
00001 //- Class: ParamTool
00002 //-------------------------------------------------------------------------
00003 // Filename      : ParamTool.hpp
00004 //
00005 // Purpose       : Surface Parameterization for mesh by triangulation flattening
00006 //
00007 // Note:  set_up_space must be called before using the transform functions
00008 //
00009 // Creator       : Christopher Hynes
00010 //
00011 // Creation Date : 7/10/2002
00012 //
00013 // Owner         : Christopher Hynes
00014 //-------------------------------------------------------------------------
00015 
00016 #ifndef PARAM_TOOL_HPP
00017 #define PARAM_TOOL_HPP
00018 
00019 #include "CubitDefines.h"
00020 #include "CGMUtilConfigure.h"
00021 
00022 class CubitVector;
00023 
00024 
00025 class CUBIT_UTIL_EXPORT ParamTool
00026 {
00027 public:
00028 
00029   ParamTool() {}
00030   virtual ~ParamTool() {}
00031 
00032   virtual CubitStatus transform_to_uv(const CubitVector &xyz_location, CubitVector &uv_location) = 0;
00033 
00034   virtual CubitStatus transform_to_xyz(CubitVector &xyz_location, const CubitVector &uv_location) = 0;
00035 
00036   virtual CubitStatus uv_derivitives( double /*u_param*/ , double /*v_param*/,
00037                                       CubitVector &/*du*/, CubitVector &/*dv*/ )
00038   {
00039     return CUBIT_FAILURE;
00040   }
00041 
00042 };
00043 
00044 #endif // PARAM_TOOL_HPP
00045 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines