CGAL 6.3 - 2D Arrangements
Loading...
Searching...
No Matches
AosTraits::ApproximatePoint_2 Concept Reference

Definition

Types

A model of this concept must provide:

typedef unspecified_type Approximate_number_type
 the number type used to approximate point coordinates, e.g., double.

Operations

Approximate_number_type operator() (AosTraits::Point_2 p, int i)
 obtains an approximation of p's \(x\)-coordinate (if i == 0), or of p's \(y\)-coordinate (if i == 1).

Member Function Documentation

◆ operator()()

Approximate_number_type AosTraits::ApproximatePoint_2::operator() ( AosTraits::Point_2 p,
int i )

obtains an approximation of p's \(x\)-coordinate (if i == 0), or of p's \(y\)-coordinate (if i == 1).

Precondition
i is either 0 or 1.

#include <Concepts/AosTraits--ApproximatePoint_2.h>

Definition

Types

A model of this concept must provide:

typedef unspecified_type Approximate_number_type
 the number type used to approximate point coordinates, e.g., double.

Operations

Approximate_number_type operator() (AosTraits::Point_2 p, int i)
 obtains an approximation of p's \(x\)-coordinate (if i == 0), or of p's \(y\)-coordinate (if i == 1).

Member Function Documentation

◆ operator()()

Approximate_number_type AosTraits::ApproximatePoint_2::operator() ( AosTraits::Point_2 p,
int i )

obtains an approximation of p's \(x\)-coordinate (if i == 0), or of p's \(y\)-coordinate (if i == 1).

Precondition
i is either 0 or 1.