cgma
|
00001 //------------------------------------------------------------------------- 00002 // Copyright Notice 00003 // 00004 // Copyright (c) 1996 00005 // by Malcolm J. Panthaki, DBA, and the University of New Mexico. 00006 //------------------------------------------------------------------------- 00007 // 00008 //------------------------------------------------------------------------- 00009 // Filename : LoopSM.hpp 00010 // 00011 // Purpose : To declare the Loop solid model class. 00012 // 00013 // Special Notes : 00014 // 00015 // Creator : Stephen J. Verzi 00016 // 00017 // Creation Date : 02/26/97 00018 // 00019 // Owner : Stephen J. Verzi 00020 //------------------------------------------------------------------------- 00021 00022 #ifndef LOOPSM_HPP 00023 #define LOOPSM_HPP 00024 00025 // ********** BEGIN STANDARD INCLUDES ********** 00026 // ********** END STANDARD INCLUDES ********** 00027 00028 // ********** BEGIN MOTIF INCLUDES ********** 00029 // ********** END MOTIF INCLUDES ********** 00030 00031 // ********** BEGIN OPEN INVENTOR INCLUDES ********** 00032 // ********** END OPEN INVENTOR INCLUDES ********** 00033 00034 // ********** BEGIN CUBIT INCLUDES ********** 00035 00036 #include "CubitDefines.h" 00037 #include "GeometryDefines.h" 00038 00039 #include "TopologyBridge.hpp" 00040 00041 // ********** END CUBIT INCLUDES ********** 00042 00043 // ********** BEGIN FORWARD DECLARATIONS ********** 00044 // ********** END FORWARD DECLARATIONS ********** 00045 00046 class CUBIT_GEOM_EXPORT LoopSM : public TopologyBridge 00047 { 00048 public : 00049 00050 LoopSM() ; 00051 //- The default constructor 00052 00053 virtual ~LoopSM() ; 00054 //- The destructor 00055 00056 virtual LoopType loop_type() = 0; 00057 00058 virtual CubitStatus get_angle_metric(double& /*angle_metric*/) 00059 { return CUBIT_FAILURE; } 00060 //- Sets the value of angle_metric, ONLY if the LoopSM 00061 //- has a convenient way of calculating/storing it. 00062 //- Returns CUBIT_SUCCESS if it set the value of angle_metric, 00063 //- CUBIT_FAILURE otherwise. 00064 00065 protected: 00066 00067 private: 00068 } ; 00069 00070 00071 // ********** BEGIN INLINE FUNCTIONS ********** 00072 // ********** END INLINE FUNCTIONS ********** 00073 00074 // ********** BEGIN FRIEND FUNCTIONS ********** 00075 // ********** END FRIEND FUNCTIONS ********** 00076 00077 // ********** BEGIN EXTERN FUNCTIONS ********** 00078 // ********** END EXTERN FUNCTIONS ********** 00079 00080 #endif 00081