|
|
@@ -21,9 +21,14 @@ namespace igl
|
|
|
///
|
|
|
/// @param[in,out] V #V by 3 list of the vertex positions
|
|
|
/// @param[in,out] F #F by 3 list of the faces
|
|
|
- /// @param[in] cuts #F by 3 list of boolean flags, indicating the edges that need to
|
|
|
- /// be cut (has 1 at the face edges that are to be cut, 0 otherwise)
|
|
|
+ /// @param[in] cuts #F by 3 list of boolean flags, so that cuts(i,j)
|
|
|
+ /// indicates that the edge from F(i,j) to F(i,j+1%3) should be cut. A true
|
|
|
+ /// value on either incident face will result in a cut.
|
|
|
/// @param[out] I #V by 1 list of the map between Vn to original V index.
|
|
|
+ ///
|
|
|
+ /// \note `cuts` assumes the ordering convention from the array-based
|
|
|
+ /// triangle_triangle_adjacency which is DIFFERENT from
|
|
|
+ /// cotmatrix_entries,edge_lengths/etc.
|
|
|
template <typename DerivedV, typename DerivedF, typename DerivedC, typename DerivedI>
|
|
|
IGL_INLINE void cut_mesh(
|
|
|
Eigen::PlainObjectBase<DerivedV>& V,
|
|
|
@@ -37,15 +42,10 @@ namespace igl
|
|
|
///
|
|
|
/// \note Assumes mesh is edge-manifold.
|
|
|
///
|
|
|
- /// @param[in,out] V #V by 3 list of the vertex positions
|
|
|
- /// @param[in,out] F #F by 3 list of the faces
|
|
|
/// @param[in,out] FF #F by #3 adjacent matrix, the element i,j is the id of the triangle
|
|
|
/// adjacent to the j edge of triangle i
|
|
|
/// @param[in,out] FFi #F by #3 adjacent matrix, the element i,j is the id of edge of the
|
|
|
/// triangle TT(i,j) that is adjacent with triangle i
|
|
|
- /// @param[in] C #F by 3 list of boolean flags, indicating the edges that need to
|
|
|
- /// be cut (has 1 at the face edges that are to be cut, 0 otherwise)
|
|
|
- /// @param[out] I #V by 1 list of the map between Vn to original V index.
|
|
|
///
|
|
|
/// \see triangle_triangle_adjacency
|
|
|
template <typename DerivedV, typename DerivedF, typename DerivedFF, typename DerivedFFi, typename DerivedC, typename DerivedI>
|
|
|
@@ -63,10 +63,6 @@ namespace igl
|
|
|
///
|
|
|
///
|
|
|
/// \note Assumes mesh is edge-manifold.
|
|
|
- /// @param[in,out] V #V by 3 list of the vertex positions
|
|
|
- /// @param[in,out] F #F by 3 list of the faces
|
|
|
- /// @param[in] cuts #F by 3 list of boolean flags, indicating the edges that need to
|
|
|
- /// be cut (has 1 at the face edges that are to be cut, 0 otherwise)
|
|
|
/// @param[out] Vn #V by 3 list of the vertex positions of the cut mesh. This matrix
|
|
|
/// will be similar to the original vertices except some rows will be
|
|
|
/// duplicated.
|