CGAL 4.7 - 3D Surface Subdivision Methods
|
#include <CGAL/Subdivision_mask_3.h>
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. Loop_mask_3
implements the geometry masks of Loop subdivision on a triangulated Polyhedron_3<Cartesian>
.
Polyhedron_3 | must be a CGAL::Polyhedron_3 instantiated with a Cartesian kernel, which defines the Point_3 for the vertices. |
CGAL::Subdivision_method_3
Creation | |
Loop_mask_3 () | |
default constructor. More... | |
Stencil functions | |
void | edge_node (Edge_handle e, Point_3 &pt) |
computes the Loop edge-point pt of the edge e . More... | |
void | vertex_node (Vertex_handle v, Point_3 &pt) |
computes the Loop vertex-point pt of the vertex v . More... | |
void | border_node (Halfedge_handle e, Point_3 &ept, Point_3 &vpt) |
computes the Loop edge-point ept and the Loop vertex-point vpt of the border edge e . More... | |
CGAL::Loop_mask_3< Polyhedron_3 >::Loop_mask_3 | ( | ) |
default constructor.
void CGAL::Loop_mask_3< Polyhedron_3 >::border_node | ( | Halfedge_handle | e, |
Point_3 & | ept, | ||
Point_3 & | vpt | ||
) |
computes the Loop edge-point ept
and the Loop vertex-point vpt
of the border edge e
.
void CGAL::Loop_mask_3< Polyhedron_3 >::edge_node | ( | Edge_handle | e, |
Point_3 & | pt | ||
) |
computes the Loop edge-point pt
of the edge e
.
void CGAL::Loop_mask_3< Polyhedron_3 >::vertex_node | ( | Vertex_handle | v, |
Point_3 & | pt | ||
) |
computes the Loop vertex-point pt
of the vertex v
.