mirror of https://github.com/CGAL/cgal
remove rotation
This commit is contained in:
parent
fd16fbdf92
commit
f18c8bbeb3
|
|
@ -25,6 +25,11 @@ This concept provides the types of the geometric primitives used in
|
|||
this class and some function object types for the required
|
||||
predicates on those primitives.
|
||||
|
||||
The Snap Rounding traits we provide is templated by another traits.
|
||||
This traits must provide number type (\ccc{FT}), \ccc{Point_2}, \ccc{Segment_2} and \ccc{Iso_rectangle_2}.
|
||||
Another requirement is that FT must have the method \ccc{to_double()} which converts
|
||||
the value of a variable of type FT to the built-in number type double.
|
||||
|
||||
\ccTypes
|
||||
\ccNestedType{Point_2}{The point type.}
|
||||
\ccGlue
|
||||
|
|
@ -62,12 +67,6 @@ slope of a segment as described in \cite{isr-2002}.
|
|||
Must have the syntax \ccc{double operator()(Segment_2 s)}
|
||||
where $s$ is the input segment.}
|
||||
|
||||
\ccNestedType{Rotate_point_2}{Rotate a point by an approximation of a given angle
|
||||
as desribed in \cite{isr-2002}.
|
||||
Must have the syntax \ccc{Point_2 operator()(Point_2 p,NT angle)}
|
||||
where $p$ is the point to rotate and angle is the rotation magnitude
|
||||
in radians.}
|
||||
|
||||
\ccNestedType{Integer_grid_point_2}{return the conversion of a point
|
||||
from an arbitrary-precision representation into an integer one as
|
||||
described in \cite{isr-2002}.
|
||||
|
|
@ -75,7 +74,7 @@ Must have the syntax \ccc{Point_2 operator()(Point_2 p,NT pixel_size)}
|
|||
where $p$ is the converted point and \ccc{pixel_size} is the size of the pixel of the grid.
|
||||
}
|
||||
|
||||
\ccNestedType{Box_of_minkowski_sum_2}{Get the bounding box
|
||||
\ccNestedType{Bounding_box_of_minkowski_sum_2}{Get the bounding box
|
||||
of the minkowski sum of a segment and a unit pixel as described in \cite{isr-2002}.
|
||||
Must have the syntax \ccc{Iso_rectangle_2 operator()(Segment_2 s,NT unit_squere,NT angle)}
|
||||
where $s$ is the segment, {\ccc unit\_square} is the edge size of the pixel
|
||||
|
|
@ -111,11 +110,9 @@ and constructor objects.
|
|||
\ccGlue
|
||||
\ccMethod{Segment_direction_2 segment_direction_2_object();}{}
|
||||
\ccGlue
|
||||
\ccMethod{Rotate_point_2 rotate_point_2_object();}{}
|
||||
\ccGlue
|
||||
\ccMethod{Integer_grid_point_2 integer_grid_point_2_object();}{}
|
||||
\ccGlue
|
||||
\ccMethod{Box_of_minkowski_sum_2 box_of_minkowski_sum_2_object();}{}
|
||||
\ccMethod{Bounding_box_of_minkowski_sum_2 bounding_box_of_minkowski_sum_2_object();}{}
|
||||
\ccGlue
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue