Subversion Repositories gelsvn

Rev

Rev 636 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 636 Rev 652
Line 13... Line 13...
13
#define __HMESH_MESH_OPTIMIZATION_H
13
#define __HMESH_MESH_OPTIMIZATION_H
14
 
14
 
15
#include <algorithm>
15
#include <algorithm>
16
#include "Manifold.h"
16
#include "Manifold.h"
17
#include "../CGLA/Vec3d.h"
17
#include "../CGLA/Vec3d.h"
-
 
18
#include "../Geometry/Implicit.h"
-
 
19
 
18
namespace HMesh
20
namespace HMesh
19
{
21
{
20
    // forward declarations
22
    // forward declarations
21
    //class Manifold;
23
    //class Manifold;
22
    //class HalfEdgeID;
24
    //class HalfEdgeID;
Line 129... Line 131...
129
    void optimize_valency(Manifold& m, bool anneal=false);
131
    void optimize_valency(Manifold& m, bool anneal=false);
130
 
132
 
131
    /// Make radom flips. Useful for generating synthetic test cases.
133
    /// Make radom flips. Useful for generating synthetic test cases.
132
    void randomize_mesh(Manifold& m, int max_iter);
134
    void randomize_mesh(Manifold& m, int max_iter);
133
 
135
 
-
 
136
    /// Perform many operations in order to equalize edge lengths.
-
 
137
    void edge_equalize(HMesh::Manifold& m, const Geometry::Implicit& imp, int max_iter);
-
 
138
 
134
}
139
}
135
 
140
 
136
 
141
 
137
#endif
142
#endif