|
CGAL 6.2 - 2D and 3D Linear Geometry Kernel
|
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\). | |
| template<typename Kernel > | |
| Comparison_result | CGAL::compare_projection_along_direction_3 (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Direction_3< Kernel > &dir) |
returns CGAL::SMALLER, CGAL::EQUAL, or CGAL::LARGER if the projection of p onto a line with direction dir precedes, coincides, or follows that of q in the direction pointed by dir. | |
| 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\).
a!=b && c!=b. | Comparison_result CGAL::compare_projection_along_direction_3 | ( | const CGAL::Point_3< Kernel > & | p, |
| const CGAL::Point_3< Kernel > & | q, | ||
| const CGAL::Direction_3< Kernel > & | dir | ||
| ) |
#include <CGAL/Kernel/global_functions.h>
returns CGAL::SMALLER, CGAL::EQUAL, or CGAL::LARGER if the projection of p onto a line with direction dir precedes, coincides, or follows that of q in the direction pointed by dir.
CGAL::compare_distance_to_point() CGAL::compare_signed_distance_to_line() CGAL::compare_signed_distance_to_plane() 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()