|
CGAL 5.1 - Geometric Object Generators
|
#include <Concepts/RandomConvexSetTraits_2.h>
The concept RandomConvexSetTraits_2 describes the requirements of the traits class for the function random_convex_set_2().
Types | |
| typedef unspecified_type | Point_2 |
| point class. More... | |
| typedef unspecified_type | FT |
| class used for doing computations on point and vector coordinates (has to fulfill field type requirements). More... | |
| typedef unspecified_type | Sum |
AdaptableBinaryFunction class: Point_2 \( \times\) Point_2 \( \rightarrow\) Point_2. More... | |
| typedef unspecified_type | Scale |
AdaptableBinaryFunction class: Point_2 \( \times\) FT \( \rightarrow\) Point_2. More... | |
| typedef unspecified_type | Max_coordinate |
AdaptableUnaryFunction class: Point_2 \( \rightarrow\) FT. More... | |
| typedef unspecified_type | Angle_less |
AdaptableBinaryFunction class: Point_2 \( \times\) Point_2 \( \rightarrow\) bool. More... | |
Operations | |
| Point_2 | origin () const |
return origin (neutral element for the Sum operation). More... | |
| typedef unspecified_type RandomConvexSetTraits_2::Angle_less |
AdaptableBinaryFunction class: Point_2 \( \times\) Point_2 \( \rightarrow\) bool.
It returns true, iff the angle of the direction corresponding to the first argument with respect to the positive \( x\)-axis is less than the angle of the direction corresponding to the second argument.
| typedef unspecified_type RandomConvexSetTraits_2::FT |
class used for doing computations on point and vector coordinates (has to fulfill field type requirements).
| typedef unspecified_type RandomConvexSetTraits_2::Max_coordinate |
AdaptableUnaryFunction class: Point_2 \( \rightarrow\) FT.
Max_coordinate(p) returns the coordinate of p with largest absolute value.
| typedef unspecified_type RandomConvexSetTraits_2::Point_2 |
point class.
| typedef unspecified_type RandomConvexSetTraits_2::Scale |
AdaptableBinaryFunction class: Point_2 \( \times\) FT \( \rightarrow\) Point_2.
Scale(p,k) returns the point that results from scaling the vector corresponding to p by a factor of k.
| typedef unspecified_type RandomConvexSetTraits_2::Sum |
AdaptableBinaryFunction class: Point_2 \( \times\) Point_2 \( \rightarrow\) Point_2.
It returns the point that results from adding the vectors corresponding to both arguments.
| Point_2 RandomConvexSetTraits_2::origin | ( | ) | const |
return origin (neutral element for the Sum operation).