cgma
OCCCoEdge.cpp
Go to the documentation of this file.
00001 //-------------------------------------------------------------------------
00002 // Filename      : OCCCoEdge.cpp
00003 //
00004 // Purpose       : 
00005 //
00006 // Special Notes :
00007 //
00008 // Creator       : Steven J. Owen
00009 //
00010 // Creation Date : 07/18/00
00011 //
00012 // Owner         : Steven J. Owen
00013 //-------------------------------------------------------------------------
00014 
00015 // ********** BEGIN STANDARD INCLUDES      **********
00016 // ********** END STANDARD INCLUDES        **********
00017 // ********** BEGIN CUBIT INCLUDES         **********
00018 #include "CubitDefines.h"
00019 #include "CastTo.hpp"
00020 #include "OCCCoEdge.hpp"
00021 #include "OCCLoop.hpp"
00022 #include "OCCQueryEngine.hpp"
00023 #include "CubitUtil.hpp"
00024 
00025 #include "OCCBody.hpp"
00026 #include "OCCLump.hpp"
00027 #include "OCCShell.hpp"
00028 #include "OCCSurface.hpp"
00029 #include "OCCCurve.hpp"
00030 // ********** END CUBIT INCLUDES           **********
00031 
00032 // ********** BEGIN FORWARD DECLARATIONS   **********
00033 // ********** END FORWARD DECLARATIONS     **********
00034 
00035 // ********** BEGIN STATIC DECLARATIONS    **********
00036 // ********** END STATIC DECLARATIONS      **********
00037 
00038 // ********** BEGIN PUBLIC FUNCTIONS       **********
00039 
00040 
00041 OCCCoEdge::OCCCoEdge( Curve *curv_ptr, 
00042               LoopSM *loop_ptr, CubitSense sense )
00043             : myMark(0), myCurve(curv_ptr), 
00044               myLoop(loop_ptr),edgeSense(sense)
00045 {
00046 }
00047 
00048 //-------------------------------------------------------------------------
00049 // Purpose       : The destructor
00050 //
00051 // Special Notes :
00052 //
00053 // Creator       : Steve Owen
00054 //
00055 // Creation Date : 07/18/00
00056 //-------------------------------------------------------------------------
00057 OCCCoEdge::~OCCCoEdge()
00058 {
00059 }
00060 
00061 GeometryQueryEngine*
00062 OCCCoEdge::get_geometry_query_engine() const
00063 {
00064   return OCCQueryEngine::instance();
00065 }
00066 
00067 void OCCCoEdge::append_simple_attribute_virt(const CubitSimpleAttrib& csattrib_ptr)
00068 {
00069 }
00070 
00071 void OCCCoEdge::remove_simple_attribute_virt(const CubitSimpleAttrib& csattrib_ptr)
00072 {
00073 }
00074 
00075 void OCCCoEdge::remove_all_simple_attribute_virt()
00076 {
00077 }
00078 
00079 CubitStatus OCCCoEdge::get_simple_attribute(DLIList<CubitSimpleAttrib>&
00080                                              cubit_simple_attrib_list)
00081 {
00082   return CUBIT_FAILURE;
00083 }
00084 CubitStatus OCCCoEdge::get_simple_attribute(const CubitString& name,
00085                                        DLIList<CubitSimpleAttrib>& list)
00086   {return CUBIT_FAILURE;  }
00087 
00088 void OCCCoEdge::get_parents_virt( DLIList<TopologyBridge*>& parents )
00089 {
00090   parents.append(loop());
00091 }
00092 
00093 void OCCCoEdge::get_children_virt( DLIList<TopologyBridge*>& children )
00094 {
00095   children.append(curve());
00096 }
00097 
00098 // ********** END PUBLIC FUNCTIONS         **********
00099 
00100 // ********** BEGIN PROTECTED FUNCTIONS    **********
00101 // ********** END PROTECTED FUNCTIONS      **********
00102 
00103 // ********** BEGIN PRIVATE FUNCTIONS      **********
00104 // ********** END PRIVATE FUNCTIONS        **********
00105 
00106 // ********** BEGIN HELPER CLASSES         **********
00107 // ********** END HELPER CLASSES           **********
00108 
00109 // ********** BEGIN EXTERN FUNCTIONS       **********
00110 // ********** END EXTERN FUNCTIONS         **********
00111 
00112 // ********** BEGIN STATIC FUNCTIONS       **********
00113 // ********** END STATIC FUNCTIONS         **********
00114 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines