|
CGAL 6.2 - 2D Snap Rounding
|
#include <CGAL/Float_snap_rounding_traits_2.h>
CGAL::Arr_segment_traits_2< typename Kernel >.
The class Float_snap_rounding_traits_2<Kernel> is a model of the FloatSnapRoundingTraits_2 concept, and is the only traits class supplied with the package.
This class should be instantiated with a kernel with points and segments that are convertible to Exact_predicates_exact_constructions_kernel, the user must specified to used another exact geometric kernel that conforms to the CGAL kernel-concept, such as Cartesian<Gmpq>.
SnapRoundingTraits_2 Classes | |
| struct | Construct_point_at_x_on_segment_2 |
| struct | Construct_round_point_2 |
| struct | Squared_round_bound_2 |
Public Types | |
| typedef Arr_segment_traits_2< Exact_Kernel > | Base |
| typedef Exact_Kernel | Exact_type |
| typedef Base::FT | FT |
| typedef Base::Point_2 | Point_2 |
| typedef Base::Segment_2 | Segment_2 |
| typedef Base::Less_xy_2 | Less_xy_2 |
| typedef Base::Less_y_2 | Less_y_2 |
| typedef Base::Equal_2 | Equal_2 |
| typedef Base::Construct_point_2 | Construct_point_2 |
| typedef Base::Construct_source_2 | Construct_source_2 |
| typedef Base::Construct_target_2 | Construct_target_2 |
| typedef Base::Construct_segment_2 | Construct_segment_2 |
| typedef Cartesian_converter< Input_Kernel, Exact_Kernel > | Converter_to_exact |
| typedef Cartesian_converter< Exact_Kernel, Input_Kernel > | Converter_from_exact |
Public Types inherited from CGAL::Arr_segment_traits_2< typename Kernel > | |
| typedef X_monotone_curve_2 | Curve_2 |
| typedef Kernel::Segment_2 | Segment_2 |
| typedef Kernel::Line_2 | Line_2 |
| typedef Kernel::Point_2 | Point_2 |
Public Member Functions | |
| Converter_to_exact | converter_to_exact_object () const |
| Converter_from_exact | converter_from_exact_object () const |
| Squared_round_bound_2 | squared_round_bound_2_object () const |
| Construct_round_point_2 | construct_round_point_2_object () const |
| Construct_point_at_x_on_segment_2 | construct_point_at_x_on_segment_2_object () const |