CGAL 4.7 - 2D Snap Rounding: SRTraits_2::ConstructVertex_2 Concept Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - 2D Snap Rounding

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members | Public Member Functions
SRTraits_2::ConstructVertex_2 Concept Reference
Concepts

## Definition

Refines:
  `AdaptableBinaryFunction`

Has Models:
  `Snap_rounding_traits_2::Construct_vertex_2`

## Public Member Functions

Point_2 | operator() (Segment_2 seg, int i)
| returns the source or target of `seg`. More...

## Member Function Documentation

Point_2 SRTraits_2::ConstructVertex_2::operator() | ( | Segment_2 | seg,
|  | int | i
| ) |  |

returns the source or target of `seg`.

If `i` modulo 2 is 0, the source is returned, otherwise the target is returned.}