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:
@@ -178,8 +178,8 @@ public:
|
|||||||
|
|
||||||
/// Edge split (= 2-to-4 split)
|
/// Edge split (= 2-to-4 split)
|
||||||
/// Do not call PolyMeshT function below as this does the wrong operation
|
/// Do not call PolyMeshT function below as this does the wrong operation
|
||||||
inline void split(EdgeHandle _eh, const Point& _p)
|
inline VertexHandle split(EdgeHandle _eh, const Point& _p)
|
||||||
{ Kernel::split(_eh, this->add_vertex(_p)); }
|
{ const VertexHandle vh = this->add_vertex(_p); Kernel::split(_eh, vh); return vh; }
|
||||||
|
|
||||||
inline void split(EdgeHandle _eh, VertexHandle _vh)
|
inline void split(EdgeHandle _eh, VertexHandle _vh)
|
||||||
{ Kernel::split(_eh, _vh); }
|
{ Kernel::split(_eh, _vh); }
|
||||||
|
|||||||
Reference in New Issue
Block a user