CGAL 5.6.3 - Shape Regularization

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Shape_regularization::ContourDirections Concept Reference
Shape Regularization Reference » Concepts

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