CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

Modules

 CGAL::angle()
 
 CGAL::approximate_angle()
 
 CGAL::approximate_dihedral_angle()
 
 CGAL::area()
 
 CGAL::are_ordered_along_line()
 
 CGAL::are_strictly_ordered_along_line()
 
 CGAL::barycenter()
 
 CGAL::bisector()
 
 CGAL::centroid()
 
 CGAL::circumcenter()
 
 CGAL::collinear_are_ordered_along_line()
 
 CGAL::collinear_are_strictly_ordered_along_line()
 
 CGAL::collinear()
 
 CGAL::compare_dihedral_angle()
 
 CGAL::compare_distance_to_point()
 
 CGAL::compare_lexicographically()
 
 CGAL::compare_signed_distance_to_line()
 
 CGAL::compare_signed_distance_to_plane()
 
 CGAL::compare_slope()
 
 CGAL::compare_squared_distance()
 
 CGAL::compare_squared_radius()
 
 CGAL::compare_x()
 
 CGAL::compare_xy()
 
 CGAL::compare_x_at_y()
 
 
 CGAL::compare_y_at_x()
 
 
 CGAL::compare_y()
 
 CGAL::compare_xyz()
 
 CGAL::compare_z()
 
 CGAL::compare_yx()
 
 CGAL::coplanar()
 
 CGAL::coplanar_orientation()
 
 CGAL::coplanar_side_of_bounded_circle()
 
 CGAL::cross_product()
 
 CGAL::determinant()
 
 Intersection Testing Functions - CGAL::do_intersect()
 
 CGAL::equidistant_line()
 
 CGAL::has_larger_distance_to_point()
 
 CGAL::has_larger_signed_distance_to_line()
 
 CGAL::has_larger_signed_distance_to_plane()
 
 CGAL::has_smaller_distance_to_point()
 
 CGAL::has_smaller_signed_distance_to_line()
 
 CGAL::has_smaller_signed_distance_to_plane()
 
 Intersection Computation Functions - CGAL::intersection()
 
 CGAL::l_infinity_distance()
 
 CGAL::left_turn()
 
 CGAL::lexicographically_xy_larger()
 
 CGAL::lexicographically_xy_larger_or_equal()
 
 CGAL::lexicographically_xy_smaller()
 
 CGAL::lexicographically_xy_smaller_or_equal()
 
 CGAL::lexicographically_xyz_smaller()
 
 CGAL::lexicographically_xyz_smaller_or_equal()
 
 CGAL::max_vertex()
 
 CGAL::midpoint()
 
 CGAL::min_vertex()
 
 CGAL::normal()
 
 CGAL::orientation()
 
 CGAL::orthogonal_vector()
 
 CGAL::parallel()
 
 CGAL::radical_plane()
 
 CGAL::radical_line()
 
 CGAL::rational_rotation_approximation()
 
 CGAL::right_turn()
 
 CGAL::scalar_product()
 
 CGAL::side_of_bounded_circle()
 
 CGAL::side_of_bounded_sphere()
 
 CGAL::side_of_oriented_circle()
 
 CGAL::side_of_oriented_sphere()
 
 CGAL::squared_area()
 
 CGAL::squared_distance()
 
 CGAL::squared_length()
 
 CGAL::squared_radius()
 
 CGAL::unit_normal()
 
 CGAL::volume()
 
 CGAL::x_equal()
 
 CGAL::y_equal()
 
 CGAL::z_equal()
 
 CGAL::operator+
 
 CGAL::operator-
 
 CGAL::operator*
 
 CGAL::do_overlap()
 

Functions

template<typename Kernel >
Comparison_result CGAL::compare_angle (const CGAL::Point_3< Kernel > &a, const CGAL::Point_3< Kernel > &b, const CGAL::Point_3< Kernel > &c, const Kernel::FT &cosine)
 compares the angles \( \theta_1\) and \( \theta_2\), where \( \theta_1\) is the angle in \( [0, \pi]\) of the triangle \( (a, b, c)\) at the vertex b, and \( \theta_2\) is the angle in \( [0, \pi]\) such that \( cos(\theta_2) = cosine\).
 

Function Documentation

◆ compare_angle()

template<typename Kernel >
Comparison_result CGAL::compare_angle ( const CGAL::Point_3< Kernel > &  a,
const CGAL::Point_3< Kernel > &  b,
const CGAL::Point_3< Kernel > &  c,
const Kernel::FT &  cosine 
)

#include <CGAL/Kernel/global_functions.h>

compares the angles \( \theta_1\) and \( \theta_2\), where \( \theta_1\) is the angle in \( [0, \pi]\) of the triangle \( (a, b, c)\) at the vertex b, and \( \theta_2\) is the angle in \( [0, \pi]\) such that \( cos(\theta_2) = cosine\).

Precondition
a!=b && c!=b.