CGAL 5.1 - Algebraic Kernel
AlgebraicKernel_d_1::BoundBetween_1 Class Reference

#include <Concepts/AlgebraicKernel_d_1--BoundBetween_1.h>

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\). More...
 

Member Typedef Documentation

◆ first_argument_type

◆ result_type

◆ second_argument_type

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)\)