\( \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.7 - 3D Surface Subdivision Methods
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::CatmullClark_mask_3< Polyhedron_3 > Class Template Reference

#include <CGAL/Subdivision_mask_3.h>

Definition

A stencil determines a source neighborhood whose points contribute to the position of a refined point.

The geometry mask of a stencil specifies the computation on the nodes of the stencil. CatmullClark_mask_3 implements the geometry masks of Catmull-Clark subdivision on a CGAL::Polyhedron_3<Cartesian>.

Template Parameters
Polyhedron_3must be a CGAL::Polyhedron_3 instantiated with a Cartesian kernel, which defines the Point_3 for the vertices.
CCBorderMask.png
Is Model Of:
PQQMask_3
See also
CGAL::Subdivision_method_3

Creation

 CatmullClark_mask_3 ()
 default constructor. More...
 

Stencil functions

void facet_node (Facet_handle f, Point_3 &pt)
 computes the Catmull-Clark facet-point pt of the facet f. More...
 
void edge_node (Edge_handle e, Point_3 &pt)
 computes the Catmull-Clark edge-point pt of the edge e. More...
 
void vertex_node (Vertex_handle v, Point_3 &pt)
 computes the Catmull-Clark vertex-point pt of the vertex v. More...
 
void border_node (Halfedge_handle e, Point_3 &ept, Point_3 &vpt)
 computes the Catmull-Clark edge-point ept and the Catmull-Clark vertex-point vpt of the border edge e. More...
 

Constructor & Destructor Documentation

template<typename Polyhedron_3 >
CGAL::CatmullClark_mask_3< Polyhedron_3 >::CatmullClark_mask_3 ( )

default constructor.

Member Function Documentation

template<typename Polyhedron_3 >
void CGAL::CatmullClark_mask_3< Polyhedron_3 >::border_node ( Halfedge_handle  e,
Point_3 ept,
Point_3 vpt 
)

computes the Catmull-Clark edge-point ept and the Catmull-Clark vertex-point vpt of the border edge e.

template<typename Polyhedron_3 >
void CGAL::CatmullClark_mask_3< Polyhedron_3 >::edge_node ( Edge_handle  e,
Point_3 pt 
)

computes the Catmull-Clark edge-point pt of the edge e.

template<typename Polyhedron_3 >
void CGAL::CatmullClark_mask_3< Polyhedron_3 >::facet_node ( Facet_handle  f,
Point_3 pt 
)

computes the Catmull-Clark facet-point pt of the facet f.

template<typename Polyhedron_3 >
void CGAL::CatmullClark_mask_3< Polyhedron_3 >::vertex_node ( Vertex_handle  v,
Point_3 pt 
)

computes the Catmull-Clark vertex-point pt of the vertex v.