CGAL 6.0 - 2D Snap Rounding
Loading...
Searching...
No Matches
SRTraits_2::MinkowskiSumWithPixel_2 Concept Reference

Definition

Public Member Functions

void operator() (std::list< Point_2 > &vertices_list, Segment_2 s, NT unit_square)
 returns the vertices of a polygon, which is the Minkowski sum of a segment and a square centered at the origin with edge size pixel edge.
 

Member Function Documentation

◆ operator()()

void SRTraits_2::MinkowskiSumWithPixel_2::operator() ( std::list< Point_2 > &  vertices_list,
Segment_2  s,
NT  unit_square 
)

returns the vertices of a polygon, which is the Minkowski sum of a segment and a square centered at the origin with edge size pixel edge.

vertices_list is the list of the vertices of the Minkowski sum polygon, s is the input segment and unit_square is the edge size of the pixel.