CGAL 6.1.2 - 3D Surface Subdivision Methods: Sqrt3Mask_3 Concept Reference

CGAL 6.1.2 - 3D Surface Subdivision Methods

Loading...
Searching...
No Matches
List of all members
Sqrt3Mask_3 Concept Reference
Reference Manual » Concepts

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

## Constructor & Destructor Documentation

## ◆ Sqrt3Mask_3()

Sqrt3Mask_3::Sqrt3Mask_3 | ( | PolygonMesh * | pmesh | ) |

Constructor.

The default vertex point property map is used.

## Member Function Documentation

## ◆ border_node()

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