root/cgm/trunk/geom/virtual/CollapseCurveTool.hpp

Revision 1040, 1.2 KB (checked in by tautges, 2 years ago)

Version 10.2 of cgm.

Line 
1//---------------------------------------------------------------------------
2//- Filename:       CollapseCurveTool
3//- Purpose:  To collapse small curves for preparing for mesh
4//-
5//- Creator:       Brett Clark
6//- Creation date: 01/10/2006
7//----------------------------------------------------------------------------
8
9#ifndef COLLAPSECURVETOOL_HPP
10#define COLLAPSECURVETOOL_HPP
11
12class RefEdge;
13class RefVertex;
14template<class X> class DLIList;
15   
16class CollapseCurveTool
17{
18  public:
19    static CollapseCurveTool *instance();
20
21    CubitStatus collapse_curve(DLIList <RefEdge*> ref_edge_list, 
22                DLIList<RefVertex*> ref_vertex_list,
23                int ignore_surfaces); 
24
25  private:
26    CollapseCurveTool();
27    // Constructor
28                                                                               
29    ~CollapseCurveTool();
30    // Destructor
31                                                                               
32    static CollapseCurveTool *instance_;
33    // the static instance pointer
34
35    CubitStatus position_from_length(RefEdge *edge,
36                                     RefVertex *root_vertex,
37                                     double  arc_length,
38                                     CubitVector& v_new);
39
40
41};
42
43#endif
Note: See TracBrowser for help on using the browser.