CGAL 6.0.1 - 2D and 3D Linear Geometry Kernel
|
CGAL::angle()
Operations | |
A model of this concept must provide: | |
Angle | operator() (const Kernel::Vector_2 &u, const Kernel::Vector_2 &v) |
returns CGAL::OBTUSE, CGAL::RIGHT or CGAL::ACUTE depending on the angle formed by the two vectors u and v . | |
Angle | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r) |
returns CGAL::OBTUSE, CGAL::RIGHT or CGAL::ACUTE depending on the angle formed by the three points p , q , r (q being the vertex of the angle). | |
Angle | operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q, const Kernel::Point_2 &r, const Kernel::Point_2 &s) |
returns CGAL::OBTUSE, CGAL::RIGHT or CGAL::ACUTE depending on the angle formed by the two vectors pq , rs . | |
Angle Kernel::Angle_2::operator() | ( | const Kernel::Point_2 & | p, |
const Kernel::Point_2 & | q, | ||
const Kernel::Point_2 & | r | ||
) |
returns CGAL::OBTUSE, CGAL::RIGHT or CGAL::ACUTE depending on the angle formed by the three points p
, q
, r
(q
being the vertex of the angle).
The returned value is the same as operator()(p - q, r - q)
.
Angle Kernel::Angle_2::operator() | ( | const Kernel::Point_2 & | p, |
const Kernel::Point_2 & | q, | ||
const Kernel::Point_2 & | r, | ||
const Kernel::Point_2 & | s | ||
) |
returns CGAL::OBTUSE, CGAL::RIGHT or CGAL::ACUTE depending on the angle formed by the two vectors pq
, rs
.
The returned value is the same as operator()(q - p, s - r)
.