Added return value to TriMesh::split operation.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@617 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Hans-Christian Ebke
2012-07-13 08:36:54 +00:00
parent 2355ad6faf
commit d42d01de91

View File

@@ -178,8 +178,8 @@ public:
/// 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)
{ Kernel::split(_eh, this->add_vertex(_p)); }
inline VertexHandle split(EdgeHandle _eh, const Point& _p)
{ const VertexHandle vh = this->add_vertex(_p); Kernel::split(_eh, vh); return vh; }
inline void split(EdgeHandle _eh, VertexHandle _vh)
{ Kernel::split(_eh, _vh); }