Class SmartEdgeHandle
Defined in File smart_handles.h
Inheritance Relationships
Base Type
public zmesh::core::EdgeHandle(Class EdgeHandle)
Class Documentation
-
class SmartEdgeHandle : public zmesh::core::EdgeHandle
Smart handle implementation.
Public Functions
-
inline explicit SmartEdgeHandle(Index idx = INDEX_MAX, const MeshKernel *mesh = nullptr)
-
inline const MeshKernel *mesh() const
-
bool is_deleted() const
是否被标记为删除
Topology
-
bool is_boundary() const
是否是边界点
-
SmartHalfedgeHandle halfedge(int i) const
返回该边对应的两条半边之一
- 参数
i -- 必须是0或1
-
SmartHalfedgeHandle h(int i) const
等价于halfedge(i)
- 参数
i -- 必须是0或1
-
SmartHalfedgeHandle h0() const
等价于h(0)
-
SmartHalfedgeHandle h1() const
等价于h(1)
-
SmartVertexHandle vertex(int i) const
返回该边对应的两个顶点之一
- 参数
i -- 必须是0或1
-
SmartVertexHandle v(int i) const
等价于vertex(i)
-
SmartVertexHandle v0() const
等价于v(0)
-
SmartVertexHandle v1() const
等价于v(1)
-
inline explicit SmartEdgeHandle(Index idx = INDEX_MAX, const MeshKernel *mesh = nullptr)