#include <CGAL/number_utils.h>
#include <CGAL/predicates/sign_of_determinant.h>
#include <CGAL/constructions/kernel_ftC2.h>
Go to the source code of this file.
Functions | |
template<class FT > | |
CGAL_BEGIN_NAMESPACE CGAL_KERNEL_MEDIUM_INLINE bool | equal_lineC2 (const FT &l1a, const FT &l1b, const FT &l1c, const FT &l2a, const FT &l2b, const FT &l2c) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_xC2 (const FT &px, const FT &la, const FT &lb, const FT &lc, const FT &ha, const FT &hb, const FT &hc) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_xC2 (const FT &la, const FT &lb, const FT &lc, const FT &h1a, const FT &h1b, const FT &h1c, const FT &h2a, const FT &h2b, const FT &h2c) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_xC2 (const FT &l1a, const FT &l1b, const FT &l1c, const FT &h1a, const FT &h1b, const FT &h1c, const FT &l2a, const FT &l2b, const FT &l2c, const FT &h2a, const FT &h2b, const FT &h2c) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_y_at_xC2 (const FT &px, const FT &py, const FT &la, const FT &lb, const FT &lc) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_y_at_xC2 (const FT &px, const FT &l1a, const FT &l1b, const FT &l1c, const FT &l2a, const FT &l2b, const FT &l2c) |
template<class FT > | |
CGAL_KERNEL_LARGE_INLINE Comparison_result | compare_y_at_xC2 (const FT &l1a, const FT &l1b, const FT &l1c, const FT &l2a, const FT &l2b, const FT &l2c, const FT &ha, const FT &hb, const FT &hc) |
template<class FT > | |
CGAL_KERNEL_LARGE_INLINE Comparison_result | compare_y_at_xC2 (const FT &l1a, const FT &l1b, const FT &l1c, const FT &l2a, const FT &l2b, const FT &l2c, const FT &h1a, const FT &h1b, const FT &h1c, const FT &h2a, const FT &h2b, const FT &h2c) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE bool | equal_directionC2 (const FT &dx1, const FT &dy1, const FT &dx2, const FT &dy2) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE Comparison_result | compare_angle_with_x_axisC2 (const FT &dx1, const FT &dy1, const FT &dx2, const FT &dy2) |
template<class FT > | |
Comparison_result | compare_deltax_deltayC2 (const FT &px, const FT &qx, const FT &ry, const FT &sy) |
template<class FT > | |
Comparison_result | compare_lexicographically_xyC2 (const FT &px, const FT &py, const FT &qx, const FT &qy) |
template<class FT > | |
Orientation | orientationC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE bool | collinear_are_ordered_along_lineC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
CGAL_KERNEL_MEDIUM_INLINE bool | collinear_are_strictly_ordered_along_lineC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
CGAL_KERNEL_LARGE_INLINE Oriented_side | side_of_oriented_circleC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &tx, const FT &ty) |
template<class FT > | |
CGAL_KERNEL_LARGE_INLINE Bounded_side | side_of_bounded_circleC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &tx, const FT &ty) |
template<class FT > | |
Comparison_result | cmp_dist_to_pointC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
bool | has_larger_dist_to_pointC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
bool | has_smaller_dist_to_pointC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry) |
template<class FT > | |
Comparison_result | cmp_signed_dist_to_directionC2 (const FT &la, const FT &lb, const FT &px, const FT &py, const FT &qx, const FT &qy) |
template<class FT > | |
bool | has_larger_signed_dist_to_directionC2 (const FT &la, const FT &lb, const FT &px, const FT &py, const FT &qx, const FT &qy) |
template<class FT > | |
bool | has_smaller_signed_dist_to_directionC2 (const FT &la, const FT &lb, const FT &px, const FT &py, const FT &qx, const FT &qy) |
template<class FT > | |
Comparison_result | cmp_signed_dist_to_lineC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &sx, const FT &sy) |
template<class FT > | |
bool | has_larger_signed_dist_to_lineC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &sx, const FT &sy) |
template<class FT > | |
bool | has_smaller_signed_dist_to_lineC2 (const FT &px, const FT &py, const FT &qx, const FT &qy, const FT &rx, const FT &ry, const FT &sx, const FT &sy) |
template<class FT > | |
Oriented_side | side_of_oriented_lineC2 (const FT &a, const FT &b, const FT &c, const FT &x, const FT &y) |
|
inline |
Definition at line 329 of file predicates/kernel_ftC2.h.
References CGAL_NTS, CGAL::compare(), and squared_distanceC2().
Referenced by has_larger_dist_to_pointC2(), and has_smaller_dist_to_pointC2().
|
inline |
Definition at line 362 of file predicates/kernel_ftC2.h.
References CGAL_NTS, CGAL::compare(), and scaled_distance_to_directionC2().
Referenced by has_larger_signed_dist_to_directionC2(), and has_smaller_signed_dist_to_directionC2().
|
inline |
Definition at line 395 of file predicates/kernel_ftC2.h.
References CGAL_NTS, CGAL::compare(), and scaled_distance_to_lineC2().
Referenced by has_larger_signed_dist_to_lineC2(), and has_smaller_signed_dist_to_lineC2().
CGAL_KERNEL_MEDIUM_INLINE bool collinear_are_ordered_along_lineC2 | ( | const FT & | px, |
const FT & | py, | ||
const FT & | qx, | ||
const FT & | qy, | ||
const FT & | rx, | ||
const FT & | ry | ||
) |
Definition at line 257 of file predicates/kernel_ftC2.h.
Referenced by collinear_are_ordered_along_line().
CGAL_KERNEL_MEDIUM_INLINE bool collinear_are_strictly_ordered_along_lineC2 | ( | const FT & | px, |
const FT & | py, | ||
const FT & | qx, | ||
const FT & | qy, | ||
const FT & | rx, | ||
const FT & | ry | ||
) |
Definition at line 272 of file predicates/kernel_ftC2.h.
Referenced by collinear_are_strictly_ordered_along_line().
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_angle_with_x_axisC2 | ( | const FT & | dx1, |
const FT & | dy1, | ||
const FT & | dx2, | ||
const FT & | dy2 | ||
) |
Definition at line 204 of file predicates/kernel_ftC2.h.
References LARGER, sign_of_determinant2x2(), and SMALLER.
|
inline |
Definition at line 225 of file predicates/kernel_ftC2.h.
References NTS::abs(), CGAL_NTS, and CGAL::compare().
Referenced by compare_deltax_deltay().
|
inline |
Definition at line 235 of file predicates/kernel_ftC2.h.
References CGAL_NTS, CGAL::compare(), and EQUAL.
Referenced by compare_lexicographically_xy(), and compare_lexicographically_yx().
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_xC2 | ( | const FT & | px, |
const FT & | la, | ||
const FT & | lb, | ||
const FT & | lc, | ||
const FT & | ha, | ||
const FT & | hb, | ||
const FT & | hc | ||
) |
Definition at line 76 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, CGAL::compare(), den, det2x2_by_formula(), s, sign(), and ZERO.
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_xC2 | ( | const FT & | la, |
const FT & | lb, | ||
const FT & | lc, | ||
const FT & | h1a, | ||
const FT & | h1b, | ||
const FT & | h1c, | ||
const FT & | h2a, | ||
const FT & | h2b, | ||
const FT & | h2c | ||
) |
Definition at line 91 of file predicates/kernel_ftC2.h.
References CGAL_NTS, det2x2_by_formula(), and sign().
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_xC2 | ( | const FT & | l1a, |
const FT & | l1b, | ||
const FT & | l1c, | ||
const FT & | h1a, | ||
const FT & | h1b, | ||
const FT & | h1c, | ||
const FT & | l2a, | ||
const FT & | l2b, | ||
const FT & | l2c, | ||
const FT & | h2a, | ||
const FT & | h2b, | ||
const FT & | h2c | ||
) |
Definition at line 118 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, det2x2_by_formula(), s, sign(), sign_of_determinant2x2(), and ZERO.
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_y_at_xC2 | ( | const FT & | px, |
const FT & | py, | ||
const FT & | la, | ||
const FT & | lb, | ||
const FT & | lc | ||
) |
Definition at line 136 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, s, sign(), and ZERO.
CGAL_KERNEL_MEDIUM_INLINE Comparison_result compare_y_at_xC2 | ( | const FT & | px, |
const FT & | l1a, | ||
const FT & | l1b, | ||
const FT & | l1c, | ||
const FT & | l2a, | ||
const FT & | l2b, | ||
const FT & | l2c | ||
) |
Definition at line 147 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, s, sign(), sign_of_determinant2x2(), and ZERO.
CGAL_KERNEL_LARGE_INLINE Comparison_result compare_y_at_xC2 | ( | const FT & | l1a, |
const FT & | l1b, | ||
const FT & | l1c, | ||
const FT & | l2a, | ||
const FT & | l2b, | ||
const FT & | l2c, | ||
const FT & | ha, | ||
const FT & | hb, | ||
const FT & | hc | ||
) |
Definition at line 160 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, s, sign(), sign_of_determinant2x2(), sign_of_determinant3x3(), and ZERO.
CGAL_KERNEL_LARGE_INLINE Comparison_result compare_y_at_xC2 | ( | const FT & | l1a, |
const FT & | l1b, | ||
const FT & | l1c, | ||
const FT & | l2a, | ||
const FT & | l2b, | ||
const FT & | l2c, | ||
const FT & | h1a, | ||
const FT & | h1b, | ||
const FT & | h1c, | ||
const FT & | h2a, | ||
const FT & | h2b, | ||
const FT & | h2c | ||
) |
Definition at line 175 of file predicates/kernel_ftC2.h.
References CGAL_kernel_assertion, CGAL_NTS, den, det2x2_by_formula(), s, sign(), sign_of_determinant2x2(), and ZERO.
CGAL_KERNEL_MEDIUM_INLINE bool equal_directionC2 | ( | const FT & | dx1, |
const FT & | dy1, | ||
const FT & | dx2, | ||
const FT & | dy2 | ||
) |
Definition at line 192 of file predicates/kernel_ftC2.h.
References CGAL_NTS, sign(), sign_of_determinant2x2(), and ZERO.
CGAL_BEGIN_NAMESPACE CGAL_KERNEL_MEDIUM_INLINE bool equal_lineC2 | ( | const FT & | l1a, |
const FT & | l1b, | ||
const FT & | l1c, | ||
const FT & | l2a, | ||
const FT & | l2b, | ||
const FT & | l2c | ||
) |
Definition at line 60 of file predicates/kernel_ftC2.h.
References CGAL_NTS, sign(), sign_of_determinant2x2(), and ZERO.
|
inline |
Definition at line 341 of file predicates/kernel_ftC2.h.
References cmp_dist_to_pointC2(), and LARGER.
|
inline |
Definition at line 374 of file predicates/kernel_ftC2.h.
References cmp_signed_dist_to_directionC2(), and LARGER.
|
inline |
Definition at line 408 of file predicates/kernel_ftC2.h.
References cmp_signed_dist_to_lineC2(), and LARGER.
|
inline |
Definition at line 352 of file predicates/kernel_ftC2.h.
References cmp_dist_to_pointC2(), and SMALLER.
|
inline |
Definition at line 385 of file predicates/kernel_ftC2.h.
References cmp_signed_dist_to_directionC2(), and SMALLER.
|
inline |
Definition at line 420 of file predicates/kernel_ftC2.h.
References cmp_signed_dist_to_lineC2(), and SMALLER.
|
inline |
Definition at line 245 of file predicates/kernel_ftC2.h.
References sign_of_determinant2x2().
Referenced by coplanar_orientationC3(), leftturn(), orientation(), rightturn(), and side_of_bounded_circleC2().
CGAL_KERNEL_LARGE_INLINE Bounded_side side_of_bounded_circleC2 | ( | const FT & | px, |
const FT & | py, | ||
const FT & | qx, | ||
const FT & | qy, | ||
const FT & | rx, | ||
const FT & | ry, | ||
const FT & | tx, | ||
const FT & | ty | ||
) |
Definition at line 315 of file predicates/kernel_ftC2.h.
References orientationC2(), and side_of_oriented_circleC2().
Referenced by side_of_bounded_circle().
CGAL_KERNEL_LARGE_INLINE Oriented_side side_of_oriented_circleC2 | ( | const FT & | px, |
const FT & | py, | ||
const FT & | qx, | ||
const FT & | qy, | ||
const FT & | rx, | ||
const FT & | ry, | ||
const FT & | tx, | ||
const FT & | ty | ||
) |
Definition at line 286 of file predicates/kernel_ftC2.h.
References sign_of_determinant2x2().
Referenced by side_of_bounded_circleC2(), and side_of_oriented_circle().
|
inline |
Definition at line 431 of file predicates/kernel_ftC2.h.
References CGAL_NTS, and sign().