BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Arr_conic_traits_2< Rat_kernel_, Alg_kernel_, Nt_traits_ >::Compare_y_at_x_2 Class Reference

#include <Arr_conic_traits_2.h>

List of all members.

Public Member Functions

Comparison_result operator() (const Point_2 &p, const X_monotone_curve_2 &cv) const

template<class Rat_kernel_, class Alg_kernel_, class Nt_traits_>
class Arr_conic_traits_2< Rat_kernel_, Alg_kernel_, Nt_traits_ >::Compare_y_at_x_2


Member Function Documentation

template<class Rat_kernel_ , class Alg_kernel_ , class Nt_traits_ >
Comparison_result Arr_conic_traits_2< Rat_kernel_, Alg_kernel_, Nt_traits_ >::Compare_y_at_x_2::operator() ( const Point_2 p,
const X_monotone_curve_2 cv 
) const [inline]

Return the location of the given point with respect to the input curve.

Parameters:
cvThe curve.
pThe point.
Precondition:
p is in the x-range of cv.
Returns:
SMALLER if y(p) < cv(x(p)), i.e. the point is below the curve; LARGER if y(p) > cv(x(p)), i.e. the point is above the curve; EQUAL if p lies on the curve.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines