00001
00002
00003
00004
00006
00008
00009
00010
00012
00013
00014
00015 #ifndef SRM_BASESRFWITHTANGENTPLANESURFACE_H_INCLUDED
00016 #define SRM_BASESRFWITHTANGENTPLANESURFACE_H_INCLUDED
00017
00018 #if !defined(_WIN32)
00019 #define EXPORT_DLL
00020 #elif !defined(EXPORT_DLL)
00021 #if defined(_LIB)
00022 #define EXPORT_DLL
00023 #elif defined(_USRDLL)
00024 #define EXPORT_DLL __declspec(dllexport)
00025 #else
00026 #define EXPORT_DLL __declspec(dllimport)
00027 #endif
00028 #endif
00029
00030 #include "srm.h"
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00042 typedef SRM_Status_Code SRM_AssociateSurfaceCoordinateTPS
00043 (
00044 SRM_Object_Reference this_object,
00045 const SRM_Coordinate3D *coordinate,
00046 SRM_SurfaceCoordinate *on_surface_coordinate
00047 );
00048
00056 typedef SRM_Status_Code SRM_CreateSurfaceCoordinateTPS
00057 (
00058 SRM_Object_Reference this_object,
00059 SRM_Long_Float first_coordinate_component,
00060 SRM_Long_Float second_coordinate_component,
00061 SRM_SurfaceCoordinate *new_coordinate
00062 );
00063
00069 typedef SRM_Status_Code SRM_DestroySurfaceCoordinateTPS
00070 (
00071 SRM_Object_Reference this_object,
00072 SRM_Object_Reference coordinate
00073 );
00074
00082 typedef SRM_Status_Code SRM_EuclideanDistanceTPS
00083 (
00084 SRM_Object_Reference this_object,
00085 const SRM_SurfaceCoordinate *point1_coordinate,
00086 const SRM_SurfaceCoordinate *point2_coordinate,
00087 SRM_Long_Float *distance
00088 );
00089
00097 typedef SRM_Status_Code SRM_GetSurfaceCoordinateValuesTPS
00098 (
00099 SRM_Object_Reference this_object,
00100 const SRM_SurfaceCoordinate *coordinate,
00101 SRM_Long_Float *first_coordinate_component,
00102 SRM_Long_Float *second_coordinate_component
00103 );
00104
00112 typedef SRM_Status_Code SRM_PromoteSurfaceCoordinateTPS
00113 (
00114 SRM_Object_Reference this_object,
00115 const SRM_SurfaceCoordinate *surface_coordinate,
00116 SRM_Coordinate3D *coordinate
00117 );
00118
00119
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 #endif
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136