CGAL 6.1.1 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ComputeYAtX_2 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

See also
  `CGAL::compare_y_at_x()`

Refines
  `AdaptableFunctor`

## Operations
A model of this concept must provide:
Kernel::FT | operator() (const Kernel::Line_2 &l, const Kernel::FT &x) const
| returns the \( y\)-coordinate of the point at `l` with given \( x\)-coordinate.

## Member Function Documentation

## ◆ operator()()

Kernel::FT Kernel::ComputeYAtX_2::operator() | ( | const Kernel::Line_2 & | l,
|  | const Kernel::FT & | x
| ) |  | const

returns the \( y\)-coordinate of the point at `l` with given \( x\)-coordinate.

Precondition
  `l` is not vertical.