CGAL 4.12 - 3D Surface Subdivision Methods
|
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>
.
CGAL::Sqrt3_mask_3<PolygonMesh, VertexPointMap>
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... | |
Sqrt3Mask_3::Sqrt3Mask_3 | ( | PolygonMesh * | pmesh | ) |
Constructor.
The default vertex point property map is used.
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
.