\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.4 - 2D Polygon Partitioning
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
ConvexPartitionIsValidTraits_2 Concept Reference

Definition

Requirements of a traits class used by convex_partition_is_valid_2 for testing the validity of a convex partition of a polygon.

Has Models:
CGAL::Partition_traits_2<R>
See Also
CGAL::approx_convex_partition_2()
CGAL::greene_approx_convex_partition_2()
CGAL::Is_convex_2<Traits>
CGAL::optimal_convex_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_convex_2
 Model of the concept PolygonIsValid that tests if a sequence of points is convex or not.
 

Creation

Only a copy constructor is required.

 ConvexPartitionIsValidTraits_2 (ConvexPartitionIsValidTraits_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_convex_2 is_convex_2_object (ConvexPartitionIsValidTraits_2 tr)