\( \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
Sqrt3Mask_3 Concept Reference

Definition

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

Refines:
SubdivisionMask_3
Has Models:
CGAL::Sqrt3_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

 Sqrt3Mask_3 (PolygonMesh *pmesh)
 Constructor. More...
 
 Sqrt3Mask_3 (PolygonMesh *pmesh, VertexPointMap vpmap)
 Constructor.
 
void face_node (face_descriptor fd, Point_3 &pt)
 computes the subdivided point pt based on the neighborhood of the face fd.
 
void vertex_node (vertex_descriptor vd, Point &pt)
 computes the subdivided point pt based on the neighborhood of the vertex vd.
 
void border_node (halfedge_descriptor hd, Point &ept1, Point &ept2, Point &vpt)
 computes the subdivided points ept1 and ept2 based on the neighborhood of the halfedge hd (whose opposite is on the border). More...
 

Constructor & Destructor Documentation

Sqrt3Mask_3::Sqrt3Mask_3 ( PolygonMesh pmesh)

Constructor.

The default vertex point property map is used.

Member Function Documentation

void Sqrt3Mask_3::border_node ( halfedge_descriptor  hd,
Point &  ept1,
Point &  ept2,
Point &  vpt 
)

computes the subdivided points ept1 and ept2 based on the neighborhood of the halfedge hd (whose opposite is on the border).

Along hd, ept1 comes before ept2. vpt is the updated point for the target vertex of hd.