An edge is a connection between two vertices. In a half-edge mesh the edge is split into two half-edges with opposite orientation. Each half-edge stores the index to the terminating vertex, the next half-edge, the previous half-edge and the face it belongs to. The opposite half-edge is accessed implicitly. More...
#include <mesh_elements.h>
Private Types | |
typedef pcl::geometry::FaceIndex | FaceIndex |
typedef pcl::geometry::HalfEdgeIndex | HalfEdgeIndex |
typedef pcl::geometry::VertexIndex | VertexIndex |
Private Member Functions | |
HalfEdge (const VertexIndex &idx_terminating_vertex=VertexIndex(), const HalfEdgeIndex &idx_next_half_edge=HalfEdgeIndex(), const HalfEdgeIndex &idx_prev_half_edge=HalfEdgeIndex(), const FaceIndex &idx_face=FaceIndex()) | |
Constructor. | |
Private Attributes | |
FaceIndex | idx_face_ |
Index to the face. The half-edge is considered to be on the boundary if it stores an invalid face index. | |
HalfEdgeIndex | idx_next_half_edge_ |
Index to the next half-edge. | |
HalfEdgeIndex | idx_prev_half_edge_ |
Index to the previous half-edge. | |
VertexIndex | idx_terminating_vertex_ |
Index to the terminating vertex. The half-edge is considered to be deleted if it stores an invalid terminating vertex index. | |
Friends | |
class | pcl::geometry::MeshBase |
class | pcl::geometry::MeshIO |
An edge is a connection between two vertices. In a half-edge mesh the edge is split into two half-edges with opposite orientation. Each half-edge stores the index to the terminating vertex, the next half-edge, the previous half-edge and the face it belongs to. The opposite half-edge is accessed implicitly.
Definition at line 107 of file mesh_elements.h.
typedef pcl::geometry::FaceIndex pcl::geometry::HalfEdge::FaceIndex [private] |
Definition at line 113 of file mesh_elements.h.
typedef pcl::geometry::HalfEdgeIndex pcl::geometry::HalfEdge::HalfEdgeIndex [private] |
Definition at line 112 of file mesh_elements.h.
typedef pcl::geometry::VertexIndex pcl::geometry::HalfEdge::VertexIndex [private] |
Definition at line 111 of file mesh_elements.h.
pcl::geometry::HalfEdge::HalfEdge | ( | const VertexIndex & | idx_terminating_vertex = VertexIndex () , |
const HalfEdgeIndex & | idx_next_half_edge = HalfEdgeIndex () , |
||
const HalfEdgeIndex & | idx_prev_half_edge = HalfEdgeIndex () , |
||
const FaceIndex & | idx_face = FaceIndex () |
||
) | [inline, explicit, private] |
Constructor.
[in] | idx_terminating_vertex | Index to the terminating vertex. Defaults to an invalid index. |
[in] | idx_next_half_edge | Index to the next half-edge. Defaults to an invalid index. |
[in] | idx_prev_half_edge | Index to the previous half-edge. Defaults to an invalid index. |
[in] | idx_face | Index to the face. Defaults to an invalid index. |
Definition at line 121 of file mesh_elements.h.
friend class pcl::geometry::MeshBase [friend] |
Definition at line 145 of file mesh_elements.h.
friend class pcl::geometry::MeshIO [friend] |
Definition at line 148 of file mesh_elements.h.
FaceIndex pcl::geometry::HalfEdge::idx_face_ [private] |
Index to the face. The half-edge is considered to be on the boundary if it stores an invalid face index.
Definition at line 142 of file mesh_elements.h.
Index to the next half-edge.
Definition at line 136 of file mesh_elements.h.
Index to the previous half-edge.
Definition at line 139 of file mesh_elements.h.
Index to the terminating vertex. The half-edge is considered to be deleted if it stores an invalid terminating vertex index.
Definition at line 133 of file mesh_elements.h.