CGAL 5.5.2 - 2D and 3D Linear Geometry Kernel

Definition

See also
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). 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...
 

Member Function Documentation

◆ operator()() [1/2]

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).

◆ operator()() [2/2]

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).