Subversion Repositories gelsvn

Rev

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

Rev 595 Rev 600
Line 26... Line 26...
26
    A needle is a triangle with a single very short edge. It is moved by collapsing the short edge. 
26
    A needle is a triangle with a single very short edge. It is moved by collapsing the short edge. 
27
    The thresh parameter sets the length threshold.		
27
    The thresh parameter sets the length threshold.		
28
    The position of the vertex which survives the collapse is set to one of the two end points. 
28
    The position of the vertex which survives the collapse is set to one of the two end points. 
29
    Selection is based on what changes the geometry least. */
29
    Selection is based on what changes the geometry least. */
30
    void remove_needles(Manifold& m, float thresh);
30
    void remove_needles(Manifold& m, float thresh);
-
 
31
    
-
 
32
    /** \brief Stitch together edges whose endpoints coincide geometrically. 
-
 
33
     This function allows you to create a mesh as a bunch of faces and then stitch these together
-
 
34
     to form a coherent whole. What this function adds is a spatial data structure to find out
-
 
35
     which vertices coincide. The return value is the number of edges that could not be stitched. 
-
 
36
     Often this is because it would introduce a non-manifold situation.*/
-
 
37
    int stitch_mesh(Manifold& m);
-
 
38
 
-
 
39
    /** \brief Stitches the mesh together, splits edges that could not be stitched and goes again.
-
 
40
     This function thereby handles situations where stitch mesh would not have worked. */
-
 
41
    void stitch_more(Manifold& m);
-
 
42
 
-
 
43
    /** \brief This function replaces holes by faces.
-
 
44
     It is really a simple function that just finds all loops of edges next to missing faces. */
-
 
45
    void close_holes(Manifold& m);
-
 
46
    
31
}
47
}
32
 
48
 
33
#endif
49
#endif
34
 
50