Merge branch 'fix_opposite_face_handle' into 'master'
Fix opposite face handle See merge request OpenMesh/OpenMesh!252
This commit is contained in:
@@ -99,13 +99,6 @@ bool PolyConnectivity::is_manifold(VertexHandle _vh) const
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
SmartFaceHandle PolyConnectivity::opposite_face_handle(HalfedgeHandle _heh) const
|
||||
{
|
||||
return face_handle(make_smart(opposite_halfedge_handle(_heh), this));
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void PolyConnectivity::adjust_outgoing_halfedge(VertexHandle _vh)
|
||||
{
|
||||
for (ConstVertexOHalfedgeIter vh_it=cvoh_iter(_vh); vh_it.is_valid(); ++vh_it)
|
||||
|
||||
@@ -611,6 +611,9 @@ public:
|
||||
inline SmartEdgeHandle edge_handle(SmartHalfedgeHandle _heh) const;
|
||||
inline SmartFaceHandle face_handle(SmartHalfedgeHandle _heh) const;
|
||||
|
||||
/// returns the face handle of the opposite halfedge
|
||||
inline SmartFaceHandle opposite_face_handle(HalfedgeHandle _heh) const;
|
||||
|
||||
//@}
|
||||
|
||||
/** \name Begin and end iterators
|
||||
@@ -1355,11 +1358,6 @@ public:
|
||||
|
||||
/** @} */
|
||||
|
||||
// --- shortcuts ---
|
||||
|
||||
/// returns the face handle of the opposite halfedge
|
||||
inline SmartFaceHandle opposite_face_handle(HalfedgeHandle _heh) const;
|
||||
|
||||
// --- misc ---
|
||||
|
||||
/** Adjust outgoing halfedge handle for vertices, so that it is a
|
||||
|
||||
@@ -68,6 +68,7 @@ inline SmartHalfedgeHandle PolyConnectivity::halfedge_handle(SmartVertexHandle _
|
||||
|
||||
inline SmartFaceHandle PolyConnectivity::face_handle(SmartHalfedgeHandle _heh) const { return make_smart(face_handle(HalfedgeHandle(_heh)), *this); }
|
||||
|
||||
inline SmartFaceHandle PolyConnectivity::opposite_face_handle(HalfedgeHandle _heh) const { return make_smart(face_handle(opposite_halfedge_handle(_heh)), *this); }
|
||||
|
||||
|
||||
/// Generic class for vertex/halfedge/edge/face ranges.
|
||||
|
||||
Reference in New Issue
Block a user