Calculate average normal for poly mesh faces. Otherwise an arbitrary triangle is taken
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@309 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -183,14 +183,21 @@ public:
|
||||
inline void split(EdgeHandle _eh, VertexHandle _vh)
|
||||
{ PolyMesh::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)
|
||||
{ PolyMesh::split(_fh, _p); }
|
||||
|
||||
inline void split(FaceHandle _fh, VertexHandle _vh)
|
||||
{ PolyMesh::split(_fh, _vh); }
|
||||
|
||||
/** \name Normal vector computation
|
||||
*/
|
||||
//@{
|
||||
|
||||
/** Calculate normal vector for face _fh (specialized for TriMesh). */
|
||||
Normal calc_face_normal(FaceHandle _fh) const;
|
||||
|
||||
//@}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user