|
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 | |
|---|
| 12 | class RefEdge; |
|---|
| 13 | class RefVertex; |
|---|
| 14 | template<class X> class DLIList; |
|---|
| 15 | |
|---|
| 16 | class 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 |
|---|