Use kernel split function on trianlge meshes instead of polymesh split
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@398 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -177,11 +177,12 @@ public:
|
|||||||
{ return PolyMesh::vertex_split(_v0, _v1, _vl, _vr); }
|
{ return PolyMesh::vertex_split(_v0, _v1, _vl, _vr); }
|
||||||
|
|
||||||
/// Edge split (= 2-to-4 split)
|
/// Edge split (= 2-to-4 split)
|
||||||
|
/// Do not call PolyMeshT function below as this does the wrong operation
|
||||||
inline void split(EdgeHandle _eh, const Point& _p)
|
inline void split(EdgeHandle _eh, const Point& _p)
|
||||||
{ PolyMesh::split(_eh, add_vertex(_p)); }
|
{ Kernel::split(_eh, add_vertex(_p)); }
|
||||||
|
|
||||||
inline void split(EdgeHandle _eh, VertexHandle _vh)
|
inline void split(EdgeHandle _eh, VertexHandle _vh)
|
||||||
{ PolyMesh::split(_eh, _vh); }
|
{ Kernel::split(_eh, _vh); }
|
||||||
|
|
||||||
/// Face split (= 1-to-3 split, calls corresponding PolyMeshT function).
|
/// Face split (= 1-to-3 split, calls corresponding PolyMeshT function).
|
||||||
inline void split(FaceHandle _fh, const Point& _p)
|
inline void split(FaceHandle _fh, const Point& _p)
|
||||||
|
|||||||
Reference in New Issue
Block a user