|
CGAL 6.3 - 3D Mesh Generation
|
#include <CGAL/Sizing_field_with_aabb_tree.h>
The class Sizing_field_with_aabb_tree is a model of concept MeshDomainField_3.
It provides a sizing field to be used in the meshing process of a polyhedral surface with features.
At each query point p, the field value is the minimum of the distances to
This sizing field is designed to be used for the edges of the mesh complex, in Mesh_edge_criteria_3 or as edge_size in Mesh_criteria_3. Using this sizing field for complex edges provides a high-quality hint to the protecting balls placement algorithm, since it ensures that no protecting ball will intersect a surface patch to which the corresponding vertex does not belong.
| GT | is the geometric traits class. It must match the type Triangulation::Geom_traits, where Triangulation is the nested type of the model of MeshComplex_3InTriangulation_3 used in the meshing process. |
| MeshDomain | is the type of the domain. It must be a model of MeshDomainWithFeatures_3, and derive from CGAL::Polyhedral_mesh_domain_with_features_3 |
MeshDomainField_3 Creation | |
| Sizing_field_with_aabb_tree (const FT &d, const MeshDomain &domain) | |
| Constructor for the sizing field. | |
Operations | |
| double | operator() (const Point_3 &p, const int dim, const Index &id) const |
| returns the value of the sizing field at the point p, assumed to be included in the input complex feature with dimension dimension and mesh subcomplex index id. | |
| CGAL::Sizing_field_with_aabb_tree< GT, MeshDomain >::Sizing_field_with_aabb_tree | ( | const FT & | d, |
| const MeshDomain & | domain ) |
Constructor for the sizing field.
| d | the maximal value returned by operator(), corresponding to an upper bound on feature edge lengths in the output mesh. |
| domain | the mesh domain to be meshed |
| double CGAL::Sizing_field_with_aabb_tree< GT, MeshDomain >::operator() | ( | const Point_3 & | p, |
| const int | dim, | ||
| const Index & | id ) const |
returns the value of the sizing field at the point p, assumed to be included in the input complex feature with dimension dimension and mesh subcomplex index id.