![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
HalfEdge class contains vertex, triangle info about a half edge, as well as relations of next and twin half edge. More...
#include <HalfEdgeTriangleMesh.h>
Public Member Functions | |
| HalfEdge () | |
| Default Constructor. More... | |
| HalfEdge (const Eigen::Vector2i &vertex_indices, int triangle_index, int next, int twin) | |
| bool | IsBoundary () const |
Public Attributes | |
| int | next_ |
| Index of the next HalfEdge in the same triangle. More... | |
| int | twin_ |
| Index of the twin HalfEdge. More... | |
| Eigen::Vector2i | vertex_indices_ |
| Index of the ordered vertices forming this half edge. More... | |
| int | triangle_index_ |
| Index of the triangle containing this half edge. More... | |
HalfEdge class contains vertex, triangle info about a half edge, as well as relations of next and twin half edge.
Definition at line 30 of file HalfEdgeTriangleMesh.h.
|
inline |
Default Constructor.
Initializes all members of the instance with invalid values.
Definition at line 35 of file HalfEdgeTriangleMesh.h.
| cloudViewer::geometry::HalfEdgeTriangleMesh::HalfEdge::HalfEdge | ( | const Eigen::Vector2i & | vertex_indices, |
| int | triangle_index, | ||
| int | next, | ||
| int | twin | ||
| ) |
|
inline |
Returns true iff the half edge is the boundary (has not twin, i.e. twin index == -1).
Definition at line 46 of file HalfEdgeTriangleMesh.h.
Referenced by cloudViewer::geometry::pybind_half_edge().
| int cloudViewer::geometry::HalfEdgeTriangleMesh::HalfEdge::next_ |
Index of the next HalfEdge in the same triangle.
Definition at line 50 of file HalfEdgeTriangleMesh.h.
Referenced by cloudViewer::geometry::pybind_half_edge().
| int cloudViewer::geometry::HalfEdgeTriangleMesh::HalfEdge::triangle_index_ |
Index of the triangle containing this half edge.
Definition at line 56 of file HalfEdgeTriangleMesh.h.
Referenced by cloudViewer::geometry::pybind_half_edge().
| int cloudViewer::geometry::HalfEdgeTriangleMesh::HalfEdge::twin_ |
Definition at line 52 of file HalfEdgeTriangleMesh.h.
Referenced by cloudViewer::geometry::pybind_half_edge().
| Eigen::Vector2i cloudViewer::geometry::HalfEdgeTriangleMesh::HalfEdge::vertex_indices_ |
Index of the ordered vertices forming this half edge.
Definition at line 54 of file HalfEdgeTriangleMesh.h.
Referenced by cloudViewer::geometry::pybind_half_edge().