CGAL 6.0.1 - Shape Regularization
Loading...
Searching...
No Matches
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
Contours::Longest_direction_2
Contours::Multiple_directions_2
Contours::User_defined_directions_2

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.