Go to the source code of this file.
Typedefs |
typedef Sign | Orientation |
typedef Sign | Oriented_side |
typedef Sign | Comparison_result |
Enumerations |
enum | Sign {
NEGATIVE = -1,
ZERO = 0,
POSITIVE = 1,
RIGHT_TURN = -1,
LEFT_TURN = 1,
CLOCKWISE = -1,
COUNTERCLOCKWISE = 1,
COLLINEAR = 0,
COPLANAR = 0,
DEGENERATE = 0,
ON_NEGATIVE_SIDE = -1,
ON_ORIENTED_BOUNDARY = 0,
ON_POSITIVE_SIDE = 1,
SMALLER = -1,
EQUAL = 0,
LARGER = 1
} |
enum | Bounded_side { ON_UNBOUNDED_SIDE = -1,
ON_BOUNDARY,
ON_BOUNDED_SIDE
} |
enum | Angle { OBTUSE = -1,
RIGHT,
ACUTE
} |
Functions |
template<class T > |
T | opposite (const T &t) |
Sign | operator- (Sign o) |
Bounded_side | opposite (Bounded_side bs) |
Angle | opposite (Angle a) |
Sign | operator* (Sign s1, Sign s2) |
template<typename T , typename U > |
T | enum_cast (const U &u) |
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
ON_UNBOUNDED_SIDE |
|
ON_BOUNDARY |
|
ON_BOUNDED_SIDE |
|
- Enumerator:
NEGATIVE |
|
ZERO |
|
POSITIVE |
|
RIGHT_TURN |
|
LEFT_TURN |
|
CLOCKWISE |
|
COUNTERCLOCKWISE |
|
COLLINEAR |
|
COPLANAR |
|
DEGENERATE |
|
ON_NEGATIVE_SIDE |
|
ON_ORIENTED_BOUNDARY |
|
ON_POSITIVE_SIDE |
|
SMALLER |
|
EQUAL |
|
LARGER |
|
Function Documentation
template<typename T , typename U >