CGAL 6.0.1 - Algebraic Kernel
Loading...
Searching...
No Matches
AlgebraicKernel_d_1::BoundBetween_1 Concept Reference

Definition

Computes a number of type AlgebraicKernel_d_1::Bound in-between two AlgebraicKernel_d_1::Algebraic_real_1 values.

Refines
AdaptableBinaryFunction

Types

typedef AlgebraicKernel_d_1::Bound result_type
 
typedef AlgebraicKernel_d_1::Algebraic_real_1 first_argument_type
 
typedef AlgebraicKernel_d_1::Algebraic_real_1 second_argument_type
 

Operations

result_type operator() (const first_argument_type &a, const second_argument_type &b)
 Computes a value \( r\), which is between \( a\) and \( b\).
 

Member Function Documentation

◆ operator()()

result_type AlgebraicKernel_d_1::BoundBetween_1::operator() ( const first_argument_type a,
const second_argument_type b 
)

Computes a value \( r\), which is between \( a\) and \( b\).

Precondition
\( a \neq b\)
Postcondition
\( r > min(a,b)\)
\( r < max(a,b)\)