Class SmartVertexHandle

Inheritance Relationships

Base Type

Class Documentation

class SmartVertexHandle : public zmesh::core::VertexHandle

Smart handle implementation.

Public Functions

inline explicit SmartVertexHandle(Index idx = INDEX_MAX, const MeshKernel *mesh = nullptr)
inline const MeshKernel *mesh() const

返回所持有的MeshKernel指针

bool is_deleted() const

是否被标记为删除

Topology

bool is_boundary() const

是否是边界点

const Point &point() const

返回定点对应的三维坐标

SmartHalfedgeHandle halfedge() const

返回一条outgoing halfedge

SmartHalfedgeHandle out() const

halfedge() 相同

SmartHalfedgeHandle in() const

返回一条incoming halfedge

VertexAroundVertexCirculator vertices() const

遍历这个顶点的1-ring

Circulators, 默认是顺时针

VertexAroundVertexCWCirculator vertices_cw() const

遍历这个顶点的1-ring, 顺时针版本

VertexAroundVertexCCWCirculator vertices_ccw() const

遍历这个顶点的1-ring, 逆时针版本

EdgeAroundVertexCirculator edges() const

遍历这个顶点相接的边

EdgeAroundVertexCWCirculator edges_cw() const

遍历这个顶点相接的边, 顺时针版本

EdgeAroundVertexCCWCirculator edges_ccw() const

遍历这个顶点相接的边, 逆时针版本

HalfedgeAroundVertexCirculator halfedges() const

遍历这个顶点相接的半边

OutgoingHalfedgeAroundVertexCirculator outgoing_halfedges() const

遍历这个顶点相接的outgoing半边

OutgoingHalfedgeAroundVertexCWCirculator outgoing_halfedges_cw() const

遍历这个顶点相接的outgoing半边, 顺时针版本

OutgoingHalfedgeAroundVertexCCWCirculator outgoing_halfedges_ccw() const

遍历这个顶点相接的outgoing半边, 逆时针版本

IncomingHalfedgeAroundVertexCirculator incoming_halfedges() const

遍历这个顶点相接的incoming半边

IncomingHalfedgeAroundVertexCWCirculator incoming_halfedges_cw() const

遍历这个顶点相接的incoming半边, 顺时针版本

IncomingHalfedgeAroundVertexCCWCirculator incoming_halfedges_ccw() const

遍历这个顶点相接的incoming半边, 逆时针版本

FaceAroundVertexCirculator faces() const

遍历这个顶点相接的面

FaceAroundVertexCWCirculator faces_cw() const

遍历这个顶点相接的面, 顺时针版本

FaceAroundVertexCCWCirculator faces_ccw() const

遍历这个顶点相接的面, 逆时针版本

unsigned int valence() const

valence就是这个顶点相接的边的个数