\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.11 - 3D Surface Subdivision Methods
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
PTQMask_3 Concept Reference

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>.

LoopBorderMask.svg
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. More...
 
 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. More...
 

Constructor & Destructor Documentation

PTQMask_3::PTQMask_3 ( PolygonMesh pmesh)

Constructor.

The default vertex point property map is used.

Member Function Documentation

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.