Class

CGAL::Mesh_domain_with_polyline_features_3<MeshDomain_3>

Definition

The class Mesh_domain_with_polyline_features_3<MeshDomain_3> is designed to allow the user to add some 0- and 1-dimensional features into any model of the MeshDomain_3 concept. The 1-dimensional features are described as polylines whose endpoints are the added corners.

Parameters

The template parameter MeshDomain_3 is the type of the domain which should be extended. It has to be a model of the MeshDomain_3 concept.

#include <CGAL/Mesh_domain_with_polyline_features_3.h>

Is Model for the Concepts

MeshDomainWithFeatures_3

Inherits From

MeshDomain_3

Types

typedef int Corner_index; Corner_index type.

typedef int Curve_segment_index; Curve_segment_index type.

Creation

template <typename ...T>
Mesh_domain_with_polyline_features_3<MeshDomain_3> md ( T ...t);
Constructor. Forwards the arguments to the constructor of the base class.

Operations

template <typename InputIterator>
void md.add_features ( InputIterator begin, InputIterator beyond)
Add 1-dimensional features in the domain. InputIterator value type must be a model of the concept MeshPolyline_3.

template <typename InputIterator>
void md.add_features_and_incidences ( InputIterator begin, InputIterator beyond)
Add 1-dimensional features in the domain with their incidences with 2-dimensional features of the domain. The InputIterator value type must be std::pair<Polyline, std::pair<InputSurfacePatchIndexIterator, InputSurfacePatchIndexIterator> > where Polyline must be a model of the concept MeshPolyline_3 and the internal pair gives a range on surface patches indices which are incident to the polyline.

See Also

MeshDomain_3
MeshDomainWithFeatures_3
MeshPolyline_3
CGAL::Implicit_mesh_domain_3<Function,BGT>
CGAL::Polyhedral_mesh_domain_3<Polyhedron,IGT,TriangleAccessor>
CGAL::Labeled_image_mesh_domain_3<Image,BGT>