CGAL 5.3.2 - 2D and 3D Linear Geometry Kernel
|
CGAL::angle()
Operations | |
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). More... | |
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 . More... | |
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)
.