The concept TriangulationTraits_2 describes the set of requirements to be fulfilled by any class used to instantiate the first template parameter of the class Triangulation_2<Traits,Tds>. This concept provides the types of the geometric primitives used in the triangulation and some function object types for the required predicates on those primitives.
| |
The point type.
| |
| |
The segment type.
| |
| |
The triangle type.
| |
| |
A constructor object for
Segment_2. Provides : Segment_2 operator()(Point_2 p,Point_2 q), which constructs a segment from two points.
| |
| |
A constructor object for
Triangle_2. Provides : Triangle_2 operator()(Point_2 p,Point_2 q,Point_2 r ), which constructs a triangle from three points.
| |
| |
Predicate object. Provides
the operator : bool operator()(Point p, Point q) which returns true if p is before q according to the -ordering of points.
| |
| |
Predicate object. Provides
the operator : bool operator()(Point p, Point q) which returns true if p is before q according to the -ordering of points.
| |
| |
Predicate object. Provides
the operator : Comparison_result operator()(Point p, Point q) which returns SMALLER, EQUAL or LARGER according to the -ordering of points p and q.
| |
| |
Predicate object. Provides
the operator : Comparison_result operator()(Point p, Point q) which returns (SMALLER, EQUAL or LARGER) according to the -ordering of points p and q.
| |
| |
Predicate object. Provides
the operator : Orientation operator()(Point p, Point q, Point r) which returns LEFT_TURN, RIGHT_TURN or COLLINEAR depending on being, with respect to the oriented line pq, on the left side , on the right side or on the line.
| |
| |
Predicate object. Must
provide the operator
Oriented_side operator()(Point p, Point q, Point r, Point s)
which takes four points as arguments and returns
ON_POSITIVE_SIDE, ON_NEGATIVE_SIDE or,
ON_ORIENTED_BOUNDARY according to the position of points s
with respect to the oriented circle through through
and .
This type is required only if the function
side_of_oriented_circle(Face_handle f, Point p) is
called.
| |
| |
Constructor object. Provides
the operator : Point operator()(Point p, Point q, Point r) which returns the circumcenter of the three points p, q and r. This type is required only if the function Point circumcenter(Face_handle f)is called.
|
| |
default constructor.
| |
| |
Copy constructor
|
|
| Assignment operator. |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Required only if side_of_oriented_circle is called called. | ||
|
| |
Required only if circumcenter is called. |