CGAL 6.2 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches
CGAL::compare_scalar_product()

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

Functions

template<typename Kernel >
Comparison_result CGAL::compare_scalar_product (const CGAL::Vector_3< Kernel > &u, const CGAL::Vector_3< Kernel > &v, const CGAL::FT< Kernel > &sp)
 returns CGAL::LARGER iff the scalar product of u and v is larger than the scalar product of w and x, CGAL::SMALLER, iff it is smaller, and CGAL::EQUAL iff both are equal.
 
template<typename Kernel >
Comparison_result CGAL::compare_scalar_product (const CGAL::Vector_3< Kernel > &u, const CGAL::Vector_3< Kernel > &v, const CGAL::Vector_3< Kernel > &w, const CGAL::Vector_3< Kernel > &x)
 returns CGAL::LARGER iff the scalar product of u and v is larger than the scalar product sp, CGAL::SMALLER, iff it is smaller, and CGAL::EQUAL iff both are equal.