CGAL 5.4.5 - Shape Regularization
CGAL::Shape_regularization::ContourDirections Concept Reference

Definition

We assume that each contour has one or several principal directions. By implementing a model of this concept, the user sets such directions and provides a way to orient contour edges towards these directions. All contour regularization functions in this package are parameterized by this concept.

Has Models:

Public Member Functions

void orient (const std::size_t query_index, Segment_2 &segment)
 orients a given segment with the index query_index towards the best-fit direction of the contour.