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

Definition

Public Member Functions

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

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.