CGAL 6.1 - 3D Surface Subdivision Methods
Loading...
Searching...
No Matches

Definition

Required member functions for the PTQMask_3 concept. This policy concept of geometric computations is used in CGAL::Subdivision_method_3::PTQ<PolygonMesh, Mask, NamedParameters>.

Refines
SubdivisionMask_3
Has models
CGAL::Loop_mask_3<PolygonMesh, VertexPointMap>
See also
CGAL::Subdivision_method_3

Types

typedef unspecified_type PolygonMesh
 The polygon mesh must be triangulated.
 
typedef unspecified_type VertexPointMap
 

Operations

 PTQMask_3 (PolygonMesh *pmesh)
 Constructor.
 
 PTQMask_3 (PolygonMesh *pmesh, VertexPointMap vpmap)
 Constructor.
 
void edge_node (halfedge_descriptor hd, Point_3 &pt)
 computes the edge-point pt based on the neighborhood of the edge hd.
 
void vertex_node (vertex_descriptor vd, Point_3 &pt)
 computes the vertex-point pt based on the neighborhood of the vertex vd.
 
void border_node (halfedge_descriptor hd, Point_3 &ept, Point_3 &vpt)
 computes the edge-point ept and the vertex-point vpt based on the neighborhood of the border edge of hd.
 

Constructor & Destructor Documentation

◆ PTQMask_3()

PTQMask_3::PTQMask_3 ( PolygonMesh pmesh)

Constructor.

The default vertex point property map is used.

Member Function Documentation

◆ border_node()

void PTQMask_3::border_node ( halfedge_descriptor  hd,
Point_3 &  ept,
Point_3 &  vpt 
)

computes the edge-point ept and the vertex-point vpt based on the neighborhood of the border edge of hd.

hd is not a border halfedge (its opposite is) and vpt corresponds to the target vertex of hd.