![]() |
OpenMesh
|
Triangle mesh based on the ArrayKernel. More...
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
Additional Inherited Members | |
![]() | |
typedef TriMeshT< AttribKernel > | This |
typedef PolyMeshT< AttribKernel > | PolyMesh |
typedef PolyMesh::Scalar | Scalar |
typedef PolyMesh::Point | Point |
typedef PolyMesh::Normal | Normal |
typedef PolyMesh::Color | Color |
typedef PolyMesh::TexCoord1D | TexCoord1D |
typedef PolyMesh::TexCoord2D | TexCoord2D |
typedef PolyMesh::TexCoord3D | TexCoord3D |
typedef PolyMesh::Vertex | Vertex |
typedef PolyMesh::Halfedge | Halfedge |
typedef PolyMesh::Edge | Edge |
typedef PolyMesh::Face | Face |
typedef PolyMesh::VertexHandle | VertexHandle |
typedef PolyMesh::HalfedgeHandle | HalfedgeHandle |
typedef PolyMesh::EdgeHandle | EdgeHandle |
typedef PolyMesh::FaceHandle | FaceHandle |
typedef PolyMesh::VertexIter | VertexIter |
typedef PolyMesh::ConstVertexIter | ConstVertexIter |
typedef PolyMesh::EdgeIter | EdgeIter |
typedef PolyMesh::ConstEdgeIter | ConstEdgeIter |
typedef PolyMesh::FaceIter | FaceIter |
typedef PolyMesh::ConstFaceIter | ConstFaceIter |
typedef PolyMesh::VertexVertexIter | VertexVertexIter |
typedef PolyMesh::VertexOHalfedgeIter | VertexOHalfedgeIter |
typedef PolyMesh::VertexIHalfedgeIter | VertexIHalfedgeIter |
typedef PolyMesh::VertexEdgeIter | VertexEdgeIter |
typedef PolyMesh::VertexFaceIter | VertexFaceIter |
typedef PolyMesh::FaceVertexIter | FaceVertexIter |
typedef PolyMesh::FaceHalfedgeIter | FaceHalfedgeIter |
typedef PolyMesh::FaceEdgeIter | FaceEdgeIter |
typedef PolyMesh::FaceFaceIter | FaceFaceIter |
typedef PolyMesh::ConstVertexVertexIter | ConstVertexVertexIter |
typedef PolyMesh::ConstVertexOHalfedgeIter | ConstVertexOHalfedgeIter |
typedef PolyMesh::ConstVertexIHalfedgeIter | ConstVertexIHalfedgeIter |
typedef PolyMesh::ConstVertexEdgeIter | ConstVertexEdgeIter |
typedef PolyMesh::ConstVertexFaceIter | ConstVertexFaceIter |
typedef PolyMesh::ConstFaceVertexIter | ConstFaceVertexIter |
typedef PolyMesh::ConstFaceHalfedgeIter | ConstFaceHalfedgeIter |
typedef PolyMesh::ConstFaceEdgeIter | ConstFaceEdgeIter |
typedef PolyMesh::ConstFaceFaceIter | ConstFaceFaceIter |
enum | |
Determine whether this is a PolyMeshT or TriMeshT ( This function does not check the per face vertex count! It only checks if the datatype is PolyMeshT or TriMeshT ) | |
enum | |
typedef TriMeshT< AttribKernel > | This |
typedef PolyMeshT< AttribKernel > | PolyMesh |
typedef PolyMesh::Scalar | Scalar |
typedef PolyMesh::Point | Point |
typedef PolyMesh::Normal | Normal |
typedef PolyMesh::Color | Color |
typedef PolyMesh::TexCoord1D | TexCoord1D |
typedef PolyMesh::TexCoord2D | TexCoord2D |
typedef PolyMesh::TexCoord3D | TexCoord3D |
typedef PolyMesh::Vertex | Vertex |
typedef PolyMesh::Halfedge | Halfedge |
typedef PolyMesh::Edge | Edge |
typedef PolyMesh::Face | Face |
typedef PolyMesh::VertexHandle | VertexHandle |
typedef PolyMesh::HalfedgeHandle | HalfedgeHandle |
typedef PolyMesh::EdgeHandle | EdgeHandle |
typedef PolyMesh::FaceHandle | FaceHandle |
typedef PolyMesh::VertexIter | VertexIter |
typedef PolyMesh::ConstVertexIter | ConstVertexIter |
typedef PolyMesh::EdgeIter | EdgeIter |
typedef PolyMesh::ConstEdgeIter | ConstEdgeIter |
typedef PolyMesh::FaceIter | FaceIter |
typedef PolyMesh::ConstFaceIter | ConstFaceIter |
typedef PolyMesh::VertexVertexIter | VertexVertexIter |
typedef PolyMesh::VertexOHalfedgeIter | VertexOHalfedgeIter |
typedef PolyMesh::VertexIHalfedgeIter | VertexIHalfedgeIter |
typedef PolyMesh::VertexEdgeIter | VertexEdgeIter |
typedef PolyMesh::VertexFaceIter | VertexFaceIter |
typedef PolyMesh::FaceVertexIter | FaceVertexIter |
typedef PolyMesh::FaceHalfedgeIter | FaceHalfedgeIter |
typedef PolyMesh::FaceEdgeIter | FaceEdgeIter |
typedef PolyMesh::FaceFaceIter | FaceFaceIter |
typedef PolyMesh::ConstVertexVertexIter | ConstVertexVertexIter |
typedef PolyMesh::ConstVertexOHalfedgeIter | ConstVertexOHalfedgeIter |
typedef PolyMesh::ConstVertexIHalfedgeIter | ConstVertexIHalfedgeIter |
typedef PolyMesh::ConstVertexEdgeIter | ConstVertexEdgeIter |
typedef PolyMesh::ConstVertexFaceIter | ConstVertexFaceIter |
typedef PolyMesh::ConstFaceVertexIter | ConstFaceVertexIter |
typedef PolyMesh::ConstFaceHalfedgeIter | ConstFaceHalfedgeIter |
typedef PolyMesh::ConstFaceEdgeIter | ConstFaceEdgeIter |
typedef PolyMesh::ConstFaceFaceIter | ConstFaceFaceIter |
![]() | |
typedef PolyMeshT< AttribKernel > | This |
Self type. Used to specify iterators/circulators. | |
enum | |
Determine whether this is a PolyMeshT or TriMeshT ( This function does not check the per face vertex count! It only checks if the datatype is PolyMeshT or TriMeshT ) | |
enum | |
typedef PolyMeshT< AttribKernel > | This |
Self type. Used to specify iterators/circulators. | |
typedef AttribKernel::Scalar | Scalar |
Scalar type. | |
typedef AttribKernel::Point | Point |
Coordinate type. | |
typedef AttribKernel::Normal | Normal |
Normal type. | |
typedef AttribKernel::Color | Color |
Color type. | |
typedef AttribKernel::TexCoord1D | TexCoord1D |
TexCoord1D type. | |
typedef AttribKernel::TexCoord2D | TexCoord2D |
TexCoord2D type. | |
typedef AttribKernel::TexCoord3D | TexCoord3D |
TexCoord3D type. | |
typedef AttribKernel::Vertex | Vertex |
Vertex type. | |
typedef AttribKernel::Halfedge | Halfedge |
Halfedge type. | |
typedef AttribKernel::Edge | Edge |
Edge type. | |
typedef AttribKernel::Face | Face |
Face type. | |
typedef AttribKernel::VertexHandle | VertexHandle |
Handle for referencing the corresponding item. | |
typedef AttribKernel::HalfedgeHandle | HalfedgeHandle |
Scalar type. | |
typedef AttribKernel::EdgeHandle | EdgeHandle |
Scalar type. | |
typedef AttribKernel::FaceHandle | FaceHandle |
Scalar type. | |
typedef AttribKernel::VertexIter | VertexIter |
Scalar type. | |
typedef AttribKernel::HalfedgeIter | HalfedgeIter |
Scalar type. | |
typedef AttribKernel::EdgeIter | EdgeIter |
Scalar type. | |
typedef AttribKernel::FaceIter | FaceIter |
Scalar type. | |
typedef AttribKernel::ConstVertexIter | ConstVertexIter |
Scalar type. | |
typedef AttribKernel::ConstHalfedgeIter | ConstHalfedgeIter |
Scalar type. | |
typedef AttribKernel::ConstEdgeIter | ConstEdgeIter |
Scalar type. | |
typedef AttribKernel::ConstFaceIter | ConstFaceIter |
Scalar type. | |
typedef AttribKernel::Scalar | Scalar |
Scalar type. | |
typedef AttribKernel::Point | Point |
Coordinate type. | |
typedef AttribKernel::Normal | Normal |
Normal type. | |
typedef AttribKernel::Color | Color |
Color type. | |
typedef AttribKernel::TexCoord1D | TexCoord1D |
TexCoord1D type. | |
typedef AttribKernel::TexCoord2D | TexCoord2D |
TexCoord2D type. | |
typedef AttribKernel::TexCoord3D | TexCoord3D |
TexCoord3D type. | |
typedef AttribKernel::Vertex | Vertex |
Vertex type. | |
typedef AttribKernel::Halfedge | Halfedge |
Halfedge type. | |
typedef AttribKernel::Edge | Edge |
Edge type. | |
typedef AttribKernel::Face | Face |
Face type. | |
typedef AttribKernel::VertexHandle | VertexHandle |
Handle for referencing the corresponding item. | |
typedef AttribKernel::HalfedgeHandle | HalfedgeHandle |
Scalar type. | |
typedef AttribKernel::EdgeHandle | EdgeHandle |
Scalar type. | |
typedef AttribKernel::FaceHandle | FaceHandle |
Scalar type. | |
typedef AttribKernel::VertexIter | VertexIter |
Scalar type. | |
typedef AttribKernel::HalfedgeIter | HalfedgeIter |
Scalar type. | |
typedef AttribKernel::EdgeIter | EdgeIter |
Scalar type. | |
typedef AttribKernel::FaceIter | FaceIter |
Scalar type. | |
typedef AttribKernel::ConstVertexIter | ConstVertexIter |
Scalar type. | |
typedef AttribKernel::ConstHalfedgeIter | ConstHalfedgeIter |
Scalar type. | |
typedef AttribKernel::ConstEdgeIter | ConstEdgeIter |
Scalar type. | |
typedef AttribKernel::ConstFaceIter | ConstFaceIter |
Scalar type. | |
typedef AttribKernel::VertexVertexIter | VertexVertexIter |
Circulator. | |
typedef AttribKernel::VertexOHalfedgeIter | VertexOHalfedgeIter |
Circulator. | |
typedef AttribKernel::VertexIHalfedgeIter | VertexIHalfedgeIter |
Circulator. | |
typedef AttribKernel::VertexEdgeIter | VertexEdgeIter |
Circulator. | |
typedef AttribKernel::VertexFaceIter | VertexFaceIter |
Circulator. | |
typedef AttribKernel::FaceVertexIter | FaceVertexIter |
Circulator. | |
typedef AttribKernel::FaceHalfedgeIter | FaceHalfedgeIter |
Circulator. | |
typedef AttribKernel::FaceEdgeIter | FaceEdgeIter |
Circulator. | |
typedef AttribKernel::FaceFaceIter | FaceFaceIter |
Circulator. | |
typedef AttribKernel::ConstVertexVertexIter | ConstVertexVertexIter |
Circulator. | |
typedef AttribKernel::ConstVertexOHalfedgeIter | ConstVertexOHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexIHalfedgeIter | ConstVertexIHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexEdgeIter | ConstVertexEdgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexFaceIter | ConstVertexFaceIter |
Circulator. | |
typedef AttribKernel::ConstFaceVertexIter | ConstFaceVertexIter |
Circulator. | |
typedef AttribKernel::ConstFaceHalfedgeIter | ConstFaceHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstFaceEdgeIter | ConstFaceEdgeIter |
Circulator. | |
typedef AttribKernel::ConstFaceFaceIter | ConstFaceFaceIter |
Circulator. | |
typedef AttribKernel::VertexVertexIter | VertexVertexIter |
Circulator. | |
typedef AttribKernel::VertexOHalfedgeIter | VertexOHalfedgeIter |
Circulator. | |
typedef AttribKernel::VertexIHalfedgeIter | VertexIHalfedgeIter |
Circulator. | |
typedef AttribKernel::VertexEdgeIter | VertexEdgeIter |
Circulator. | |
typedef AttribKernel::VertexFaceIter | VertexFaceIter |
Circulator. | |
typedef AttribKernel::FaceVertexIter | FaceVertexIter |
Circulator. | |
typedef AttribKernel::FaceHalfedgeIter | FaceHalfedgeIter |
Circulator. | |
typedef AttribKernel::FaceEdgeIter | FaceEdgeIter |
Circulator. | |
typedef AttribKernel::FaceFaceIter | FaceFaceIter |
Circulator. | |
typedef AttribKernel::ConstVertexVertexIter | ConstVertexVertexIter |
Circulator. | |
typedef AttribKernel::ConstVertexOHalfedgeIter | ConstVertexOHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexIHalfedgeIter | ConstVertexIHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexEdgeIter | ConstVertexEdgeIter |
Circulator. | |
typedef AttribKernel::ConstVertexFaceIter | ConstVertexFaceIter |
Circulator. | |
typedef AttribKernel::ConstFaceVertexIter | ConstFaceVertexIter |
Circulator. | |
typedef AttribKernel::ConstFaceHalfedgeIter | ConstFaceHalfedgeIter |
Circulator. | |
typedef AttribKernel::ConstFaceEdgeIter | ConstFaceEdgeIter |
Circulator. | |
typedef AttribKernel::ConstFaceFaceIter | ConstFaceFaceIter |
Circulator. | |
![]() | |
TriMeshT () | |
Default constructor. | |
virtual | ~TriMeshT () |
Destructor. | |
HalfedgeHandle | vertex_split (Point _v0_point, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr) |
Vertex Split: inverse operation to collapse(). | |
HalfedgeHandle | vertex_split (VertexHandle _v0, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr) |
Vertex Split: inverse operation to collapse(). | |
VertexHandle | split (EdgeHandle _eh, const Point &_p) |
Edge split (= 2-to-4 split) | |
VertexHandle | split_copy (EdgeHandle _eh, const Point &_p) |
Edge split (= 2-to-4 split) | |
void | split (EdgeHandle _eh, VertexHandle _vh) |
Edge split (= 2-to-4 split) | |
void | split_copy (EdgeHandle _eh, VertexHandle _vh) |
Edge split (= 2-to-4 split) | |
VertexHandle | split (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
VertexHandle | split_copy (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
void | split (FaceHandle _fh, VertexHandle _vh) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
void | split_copy (FaceHandle _fh, VertexHandle _vh) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
TriMeshT () | |
Default constructor. | |
virtual | ~TriMeshT () |
Destructor. | |
HalfedgeHandle | vertex_split (Point _v0_point, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr) |
Vertex Split: inverse operation to collapse(). | |
HalfedgeHandle | vertex_split (VertexHandle _v0, VertexHandle _v1, VertexHandle _vl, VertexHandle _vr) |
Vertex Split: inverse operation to collapse(). | |
VertexHandle | split (EdgeHandle _eh, const Point &_p) |
Edge split (= 2-to-4 split) | |
void | split (EdgeHandle _eh, VertexHandle _vh) |
Edge split (= 2-to-4 split) | |
VertexHandle | split (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
void | split (FaceHandle _fh, VertexHandle _vh) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
VertexHandle | split_copy (EdgeHandle _eh, const Point &_p) |
Edge split (= 2-to-4 split) | |
void | split_copy (EdgeHandle _eh, VertexHandle _vh) |
Edge split (= 2-to-4 split) | |
VertexHandle | split_copy (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
void | split_copy (FaceHandle _fh, VertexHandle _vh) |
Face split (= 1-to-3 split, calls corresponding PolyMeshT function). | |
Normal | calc_face_normal (FaceHandle _fh) const |
Calculate normal vector for face _fh (specialized for TriMesh). | |
Normal | calc_face_normal (FaceHandle _fh) const |
Calculate normal vector for face _fh (specialized for TriMesh). | |
VertexHandle | new_vertex () |
Uses default copy and assignment operator. | |
VertexHandle | new_vertex (const Point &_p) |
Adds a new vertex initialized to a custom position. | |
VertexHandle | new_vertex_dirty (const Point &_p) |
Same as new_vertex(const Point&) but never shrinks, only enlarges the vertex property vectors. | |
VertexHandle | add_vertex (const Point &_p) |
Alias for new_vertex(const Point&). | |
VertexHandle | add_vertex_dirty (const Point &_p) |
Alias for new_vertex_dirty(). | |
VertexHandle | new_vertex () |
Uses default copy and assignment operator. | |
VertexHandle | new_vertex (const Point &_p) |
Adds a new vertex initialized to a custom position. | |
VertexHandle | new_vertex_dirty (const Point &_p) |
Same as new_vertex(const Point&) but never shrinks, only enlarges the vertex property vectors. | |
VertexHandle | add_vertex (const Point &_p) |
Alias for new_vertex(const Point&). | |
VertexHandle | add_vertex_dirty (const Point &_p) |
Alias for new_vertex_dirty(). | |
void | update_normals () |
Compute normals for all primitives. | |
void | update_normal (FaceHandle _fh) |
Update normal for face _fh. | |
void | update_face_normals () |
Update normal vectors for all faces. | |
Normal | calc_face_normal (const Point &_p0, const Point &_p1, const Point &_p2) const |
Calculate normal vector for face (_p0, _p1, _p2). | |
void | calc_face_centroid (FaceHandle _fh, Point &_pt) const |
calculates the average of the vertices defining _fh | |
Point | calc_face_centroid (FaceHandle _fh) const |
Computes and returns the average of the vertices defining _gh. | |
void | update_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) |
Update normal for halfedge _heh. | |
void | update_halfedge_normals (const double _feature_angle=0.8) |
Update normal vectors for all halfedges. | |
virtual Normal | calc_halfedge_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) const |
Calculate halfedge normal for one specific halfedge. | |
bool | is_estimated_feature_edge (HalfedgeHandle _heh, const double _feature_angle) const |
identifies feature edges w.r.t. | |
void | update_normal (VertexHandle _vh) |
Update normal for vertex _vh. | |
void | update_vertex_normals () |
Update normal vectors for all vertices. | |
Normal | calc_vertex_normal (VertexHandle _vh) const |
Calculate vertex normal for one specific vertex. | |
void | calc_vertex_normal_fast (VertexHandle _vh, Normal &_n) const |
Different methods for calculation of the normal at _vh: | |
void | calc_vertex_normal_correct (VertexHandle _vh, Normal &_n) const |
Compute normals for all primitives. | |
void | calc_vertex_normal_loop (VertexHandle _vh, Normal &_n) const |
Compute normals for all primitives. | |
void | calc_edge_vector (EdgeHandle _eh, Normal &_edge_vec) const |
Calculates the edge vector as the vector defined by the halfedge with id #0 (see below) | |
Normal | calc_edge_vector (EdgeHandle _eh) const |
Calculates the edge vector as the vector defined by the halfedge with id #0 (see below) | |
void | calc_edge_vector (HalfedgeHandle _heh, Normal &_edge_vec) const |
Calculates the edge vector as the difference of the the points defined by to_vertex_handle() and from_vertex_handle() | |
Normal | calc_edge_vector (HalfedgeHandle _heh) const |
Calculates the edge vector as the difference of the the points defined by to_vertex_handle() and from_vertex_handle() | |
Scalar | calc_edge_length (EdgeHandle _eh) const |
Compute normals for all primitives. | |
Scalar | calc_edge_length (HalfedgeHandle _heh) const |
Calculates the length of the edge _heh. | |
Scalar | calc_edge_sqr_length (EdgeHandle _eh) const |
Compute normals for all primitives. | |
Scalar | calc_edge_sqr_length (HalfedgeHandle _heh) const |
Compute normals for all primitives. | |
void | calc_sector_vectors (HalfedgeHandle _in_heh, Normal &_vec0, Normal &_vec1) const |
defines a consistent representation of a sector geometry: the halfedge _in_heh defines the sector orientation the vertex pointed by _in_heh defines the sector center _vec0 and _vec1 are resp. | |
Scalar | calc_sector_angle (HalfedgeHandle _in_heh) const |
calculates the sector angle. | |
void | calc_sector_normal (HalfedgeHandle _in_heh, Normal &_sector_normal) const |
calculates the normal (non-normalized) of the face sector defined by the angle <(_in_heh,next_halfedge(_in_heh)) | |
Scalar | calc_sector_area (HalfedgeHandle _in_heh) const |
calculates the area of the face sector defined by the angle <(_in_heh,next_halfedge(_in_heh)) NOTE: special cases (e.g. | |
Scalar | calc_dihedral_angle_fast (HalfedgeHandle _heh) const |
calculates the dihedral angle on the halfedge _heh | |
Scalar | calc_dihedral_angle_fast (EdgeHandle _eh) const |
calculates the dihedral angle on the edge _eh | |
Scalar | calc_dihedral_angle (HalfedgeHandle _heh) const |
Compute normals for all primitives. | |
Scalar | calc_dihedral_angle (EdgeHandle _eh) const |
Compute normals for all primitives. | |
unsigned int | find_feature_edges (Scalar _angle_tresh=OpenMesh::deg_to_rad(44.0)) |
tags an edge as a feature if its dihedral angle is larger than _angle_tresh returns the number of the found feature edges, requires edge_status property | |
void | split (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-n split) | |
void | split (FaceHandle _fh, VertexHandle _vh) |
Compute normals for all primitives. | |
void | split (EdgeHandle _eh, const Point &_p) |
Compute normals for all primitives. | |
void | split (EdgeHandle _eh, VertexHandle _vh) |
Compute normals for all primitives. | |
void | update_normals () |
Compute normals for all primitives. | |
void | update_normal (FaceHandle _fh) |
Update normal for face _fh. | |
void | update_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) |
Update normal for halfedge _heh. | |
void | update_normal (VertexHandle _vh) |
Update normal for vertex _vh. | |
void | update_face_normals () |
Update normal vectors for all faces. | |
Normal | calc_face_normal (const Point &_p0, const Point &_p1, const Point &_p2) const |
Calculate normal vector for face (_p0, _p1, _p2). | |
void | calc_face_centroid (FaceHandle _fh, Point &_pt) const |
calculates the average of the vertices defining _fh | |
Point | calc_face_centroid (FaceHandle _fh) const |
Computes and returns the average of the vertices defining _gh. | |
void | update_halfedge_normals (const double _feature_angle=0.8) |
Update normal vectors for all halfedges. | |
virtual Normal | calc_halfedge_normal (HalfedgeHandle _heh, const double _feature_angle=0.8) const |
Calculate halfedge normal for one specific halfedge. | |
bool | is_estimated_feature_edge (HalfedgeHandle _heh, const double _feature_angle) const |
identifies feature edges w.r.t. | |
void | update_vertex_normals () |
Update normal vectors for all vertices. | |
Normal | calc_vertex_normal (VertexHandle _vh) const |
Calculate vertex normal for one specific vertex. | |
void | calc_vertex_normal_fast (VertexHandle _vh, Normal &_n) const |
Different methods for calculation of the normal at _vh: | |
void | calc_vertex_normal_correct (VertexHandle _vh, Normal &_n) const |
Compute normals for all primitives. | |
void | calc_vertex_normal_loop (VertexHandle _vh, Normal &_n) const |
Compute normals for all primitives. | |
void | calc_edge_vector (EdgeHandle _eh, Normal &_edge_vec) const |
Calculates the edge vector as the vector defined by the halfedge with id #0 (see below) | |
Normal | calc_edge_vector (EdgeHandle _eh) const |
Calculates the edge vector as the vector defined by the halfedge with id #0 (see below) | |
void | calc_edge_vector (HalfedgeHandle _heh, Normal &_edge_vec) const |
Calculates the edge vector as the difference of the the points defined by to_vertex_handle() and from_vertex_handle() | |
Normal | calc_edge_vector (HalfedgeHandle _heh) const |
Calculates the edge vector as the difference of the the points defined by to_vertex_handle() and from_vertex_handle() | |
Scalar | calc_edge_length (EdgeHandle _eh) const |
Compute normals for all primitives. | |
Scalar | calc_edge_length (HalfedgeHandle _heh) const |
Calculates the length of the edge _heh. | |
Scalar | calc_edge_sqr_length (EdgeHandle _eh) const |
Compute normals for all primitives. | |
Scalar | calc_edge_sqr_length (HalfedgeHandle _heh) const |
Compute normals for all primitives. | |
void | calc_sector_vectors (HalfedgeHandle _in_heh, Normal &_vec0, Normal &_vec1) const |
defines a consistent representation of a sector geometry: the halfedge _in_heh defines the sector orientation the vertex pointed by _in_heh defines the sector center _vec0 and _vec1 are resp. | |
Scalar | calc_sector_angle (HalfedgeHandle _in_heh) const |
calculates the sector angle. | |
void | calc_sector_normal (HalfedgeHandle _in_heh, Normal &_sector_normal) const |
calculates the normal (non-normalized) of the face sector defined by the angle <(_in_heh,next_halfedge(_in_heh)) | |
Scalar | calc_sector_area (HalfedgeHandle _in_heh) const |
calculates the area of the face sector defined by the angle <(_in_heh,next_halfedge(_in_heh)) NOTE: special cases (e.g. | |
Scalar | calc_dihedral_angle_fast (HalfedgeHandle _heh) const |
calculates the dihedral angle on the halfedge _heh | |
Scalar | calc_dihedral_angle_fast (EdgeHandle _eh) const |
calculates the dihedral angle on the edge _eh | |
Scalar | calc_dihedral_angle (HalfedgeHandle _heh) const |
Compute normals for all primitives. | |
Scalar | calc_dihedral_angle (EdgeHandle _eh) const |
Compute normals for all primitives. | |
unsigned int | find_feature_edges (Scalar _angle_tresh=OpenMesh::deg_to_rad(44.0)) |
tags an edge as a feature if its dihedral angle is larger than _angle_tresh returns the number of the found feature edges, requires edge_status property | |
void | split (FaceHandle _fh, const Point &_p) |
Face split (= 1-to-n split) | |
void | split (FaceHandle _fh, VertexHandle _vh) |
Compute normals for all primitives. | |
void | split (EdgeHandle _eh, const Point &_p) |
Compute normals for all primitives. | |
void | split (EdgeHandle _eh, VertexHandle _vh) |
Compute normals for all primitives. | |
![]() | |
static bool | is_polymesh () |
static bool | is_trimesh () |
static bool | is_polymesh () |
static bool | is_trimesh () |
![]() | |
static bool | is_polymesh () |
static bool | is_trimesh () |
static bool | is_polymesh () |
static bool | is_trimesh () |
Triangle mesh based on the ArrayKernel.