CGAL 4.7 - 2D and 3D Linear Geometry Kernel
|
Typedefs | |
typedef Sign | CGAL::Orientation |
Enumerations | |
enum | CGAL::Angle { CGAL::OBTUSE, CGAL::RIGHT, CGAL::ACUTE } |
enum | CGAL::Bounded_side { CGAL::ON_UNBOUNDED_SIDE, CGAL::ON_BOUNDARY, CGAL::ON_BOUNDED_SIDE } |
enum | CGAL::Comparison_result { CGAL::SMALLER, CGAL::EQUAL, CGAL::LARGER } |
enum | CGAL::Sign { CGAL::NEGATIVE, CGAL::ZERO, CGAL::POSITIVE } |
enum | CGAL::Oriented_side { CGAL::ON_NEGATIVE_SIDE, CGAL::ON_ORIENTED_BOUNDARY, CGAL::ON_POSITIVE_SIDE } |
Functions | |
template<typename T , typename U > | |
T | CGAL::enum_cast (const U &u) |
converts between the various enums provided by the CGAL kernel. More... | |
Oriented_side | CGAL::opposite (const Oriented_side &o) |
returns the opposite side (for example CGAL::ON_POSITIVE_SIDE if o ==CGAL::ON_NEGATIVE_SIDE ), or CGAL::ON_ORIENTED_BOUNDARY if o ==CGAL::ON_ORIENTED_BOUNDARY . More... | |
Bounded_side | CGAL::opposite (const Bounded_side &o) |
returns the opposite side (for example CGAL::ON_BOUNDED_SIDE if o ==CGAL::ON_UNBOUNDED_SIDE ), or returns CGAL::ON_BOUNDARY if o ==CGAL::ON_BOUNDARY . More... | |
Variables | |
const CGAL::Orientation | CGAL::CLOCKWISE = NEGATIVE |
const CGAL::Orientation | CGAL::COUNTERCLOCKWISE = POSITIVE |
const CGAL::Orientation | CGAL::COLLINEAR = ZERO |
const CGAL::Orientation | CGAL::LEFT_TURN = POSITIVE |
const CGAL::Orientation | CGAL::RIGHT_TURN = NEGATIVE |
const CGAL::Orientation | CGAL::COPLANAR = ZERO |
const CGAL::Orientation | CGAL::DEGENERATE = ZERO |
const CGAL::Null_vector | CGAL::NULL_VECTOR |
A symbolic constant used to construct zero length vectors. More... | |
const CGAL::Origin | CGAL::ORIGIN |
A symbolic constant which denotes the point at the origin. More... | |
typedef Sign CGAL::Orientation |
enum CGAL::Angle |
CGAL::angle()
Enumerator | |
---|---|
OBTUSE | |
RIGHT | |
ACUTE |
enum CGAL::Bounded_side |
enum CGAL::Oriented_side |
enum CGAL::Sign |
CGAL::Orientation
Enumerator | |
---|---|
NEGATIVE | |
ZERO | |
POSITIVE |
T CGAL::enum_cast | ( | const U & | u | ) |
converts between the various enums provided by the CGAL kernel.
The conversion preserves the order of the values.
Oriented_side CGAL::opposite | ( | const Oriented_side & | o | ) |
returns the opposite side (for example CGAL::ON_POSITIVE_SIDE
if o
==CGAL::ON_NEGATIVE_SIDE
), or CGAL::ON_ORIENTED_BOUNDARY
if o
==CGAL::ON_ORIENTED_BOUNDARY
.
Bounded_side CGAL::opposite | ( | const Bounded_side & | o | ) |
returns the opposite side (for example CGAL::ON_BOUNDED_SIDE
if o
==CGAL::ON_UNBOUNDED_SIDE
), or returns CGAL::ON_BOUNDARY
if o
==CGAL::ON_BOUNDARY
.
const CGAL::Orientation CGAL::CLOCKWISE = NEGATIVE |
CGAL::COUNTERCLOCKWISE
const CGAL::Orientation CGAL::COLLINEAR = ZERO |
CGAL::LEFT_TURN
CGAL::RIGHT_TURN
const CGAL::Orientation CGAL::COPLANAR = ZERO |
const CGAL::Orientation CGAL::COUNTERCLOCKWISE = POSITIVE |
CGAL::CLOCKWISE
const CGAL::Orientation CGAL::DEGENERATE = ZERO |
const CGAL::Orientation CGAL::LEFT_TURN = POSITIVE |
CGAL::COLLINEAR
CGAL::RIGHT_TURN
const CGAL::Null_vector CGAL::NULL_VECTOR |
A symbolic constant used to construct zero length vectors.
CGAL::Vector_2<Kernel>
CGAL::Vector_3<Kernel>
const Origin CGAL::ORIGIN |
A symbolic constant which denotes the point at the origin.
This constant is used in the conversion between points and vectors.
Example
CGAL::Point_2<Kernel>
CGAL::Point_3<Kernel>
const CGAL::Orientation CGAL::RIGHT_TURN = NEGATIVE |
CGAL::COLLINEAR
CGAL::LEFT_TURN