CGAL 6.1.2 - 2D Polygon Partitioning

Loading...
Searching...
No Matches
List of all members
YMonotonePartitionIsValidTraits_2 Concept Reference
Reference Manual » Concepts

## Definition

Requirements of a traits class that is used by `y_monotone_partition_is_valid_2` for testing the validity of a \( y\)-monotone partition of a polygon.

Has models
  `CGAL::Partition_traits_2<R>`

See also
  `CGAL::partition_is_valid_2()`
  `CGAL::y_monotone_partition_2()`

## Types
All types required by the concept `PartitionIsValidTraits_2` are required except the function object type `Is_valid`. The following type is required instead:
typedef unspecified_type | Is_y_monotone_2
| Model of the concept `PolygonIsValid` that tests if a sequence of points is \( y\)-monotone or not.

## Creation
Only a copy constructor is required.
| YMonotonePartitionIsValidTraits_2 (YMonotonePartitionIsValidTraits_2 tr)

## Operations
The following function that creates an instance of the above predicate object type must exist instead of the function `is_valid_object` required by `PartitionIsValidTraits_2`.
Is_y_monotone_2 | is_y_monotone_2_object (YMonotonePartitionIsValidTraits_2 tr)