Skip to content

Commit

Permalink
Add C++ and python documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreIntel committed Oct 5, 2023
1 parent 98fe062 commit 9c53c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cpp/open3d/t/geometry/TriangleMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,8 @@ class TriangleMesh : public Geometry, public DrawableGeometry {
/// \return Rotated TriangleMesh
TriangleMesh &Rotate(const core::Tensor &R, const core::Tensor &center);

/// \brief Remove duplicated triangles from the TriangleMesh
/// \return TriangleMesh without duplicated triangles
TriangleMesh &RemoveDuplicatedTriangles();

/// Normalize both triangle normals and vertex normals to length 1.
Expand Down
2 changes: 1 addition & 1 deletion cpp/pybind/t/geometry/trianglemesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ The attributes of the triangle mesh have different levels::
"Rotate points and normals (if exist).");
triangle_mesh.def("remove_duplicated_triangles",
&TriangleMesh::RemoveDuplicatedTriangles,
"Remove duplicate triangles from a triangle");
"Remove duplicated triangles from a triangle");

triangle_mesh.def(
"normalize_normals", &TriangleMesh::NormalizeNormals,
Expand Down

0 comments on commit 9c53c9d

Please sign in to comment.