CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
Functions
CGAL::compare_signed_distance_to_plane()
Reference Manual » Global Kernel Functions

##

See also
  `CGAL::compare_distance_to_point()`
  `CGAL::compare_signed_distance_to_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()`

## Functions
template<typename Kernel >
Comparison_result | CGAL::compare_signed_distance_to_plane (const CGAL::Plane_3< Kernel > &h, const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q)
| returns `CGAL::LARGER` iff the signed distance of `p` and `h` is larger than the signed distance of `q` and `h`, `CGAL::SMALLER`, iff it is smaller, and `CGAL::EQUAL` iff both are equal.
template<typename Kernel >
Comparison_result | CGAL::compare_signed_distance_to_plane (const CGAL::Point_3< Kernel > &p, const CGAL::Point_3< Kernel > &q, const CGAL::Point_3< Kernel > &r, const CGAL::Point_3< Kernel > &s, const CGAL::Point_3< Kernel > &t)
| returns `CGAL::LARGER` iff the signed distance of `s` and `h` is larger than the signed distance of `t` and `h`, `CGAL::SMALLER`, iff it is smaller, and `CGAL::EQUAL` iff both are equal, where `h` is the oriented plane through `p`, `q` and `r`.