cgma
|
00001 //------------------------------------------------------------------------- 00002 // Filename : SplitSurfaceVirtual.hpp 00003 // 00004 // Purpose : Split surface(s) and create virtual surfaces 00005 // 00006 // Special Notes : 00007 // 00008 // Creator : KGM 00009 // 00010 // Creation Date : 30-Jun-2005 00011 //------------------------------------------------------------------------- 00012 00013 #ifndef SPLITSURFACEVIRTUAL_HPP 00014 #define SPLITSURFACEVIRTUAL_HPP 00015 00016 class RefVertex; 00017 class RefEdge; 00018 class RefFace; 00019 class CubitVector; 00020 template <class X> class DLIList; 00021 00022 #include "CubitDefines.h" 00023 00024 namespace SplitSurfaceVirtual 00025 { 00026 00027 CubitStatus split_surface_virtual( RefFace *ref_face_ptr, 00028 DLIList<CubitVector*> &locations, 00029 DLIList<DLIList<CubitVector*>*> &vec_lists ); 00030 //- Split a surface and create virtual surfaces as a result. 00031 00032 CubitStatus split_surfaces_virtual( DLIList<RefFace*> &ref_face_list, 00033 int num_segs, double fraction, 00034 double distance, RefEdge *from_curve_ptr, 00035 DLIList<RefVertex*> &corner_vertex_list, 00036 DLIList<RefVertex*> &through_vertex_list, 00037 RefEdge *curve_dir_ptr, CubitBoolean preview_flg, 00038 CubitBoolean create_ref_edges_flg ); 00039 }; 00040 00041 #endif 00042