CGAL 6.1 - 2D Snap Rounding
Loading...
Searching...
No Matches
SRTraits_2::ConstructVertex_2 Class Reference

#include <Concepts/SnapRoundingTraits_2.h>

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.
 

Member Function Documentation

◆ operator()()

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.