Concept

SnapRoundingTraits_2

Definition

The concept SnapRoundingTraits_2 lists the set of requirements that must be fulfilled by an instance of the Traits template-parameter of the free function snap_rounding_2<Traits,InputIterator,OutputContainer>(). The list includes the nested types of the geometric primitives used in this class and some function object types for the required predicates on those primitives.

Refines

ArrangementTraits_2

Types

SnapRoundingTraits_2::FT
The number type. This type must fulfill the requirements on FieldNumberType

SnapRoundingTraits_2::Point_2
Models the concept ArrTraits::Point_2.

SnapRoundingTraits_2::Segment_2
Models the concept ArrTraits::XMonotoneCurve_2.

SnapRoundingTraits_2::Iso_rectangle_2
Models the concept SRTraits_2::IsoRectangle_2.

Functor Types

SnapRoundingTraits_2::Construct_vertex_2
Models the concept SRTraits_2::ConstructVertex_2.

SnapRoundingTraits_2::Construct_segment_2
Models the concept SRTraits_2::ConstructSegment_2.

SnapRoundingTraits_2::Construct_iso_rectangle_2
Models the concept SRTraits_2::ConstructIsoRectangle_2.


SnapRoundingTraits_2::To_double
Models the concept RealEmbeddableTraits::ToDouble. The precision of this operation is of not high significance, as it is only used in the implementation of the heuristic technique to exploit a cluster of kd-trees rather than just one.

SnapRoundingTraits_2::Compare_x_2
Models the concept SRTraits_2::CompareX_2.

SnapRoundingTraits_2::Compare_y_2
Models the concept SRTraits_2::CompareY_2.

SnapRoundingTraits_2::Snap_2
Models the concept SRTraits_2::Snap_2.


SnapRoundingTraits_2::Integer_grid_point_2
Models the concept SRTraits_2::IntegerGridPoint_2.


SnapRoundingTraits_2::Minkowski_sum_with_pixel_2
Models the concept SRTraits:MinkowskiSumWithPixel_2.

Accessing Functor Objects

Construct_vertex_2 traits.construct_vertex_2_object () const
Construct_segment_2 traits.construct_segment_2_object () const
Construct_iso_rectangle_2 traits.construct_iso_rectangle_2_object () const

Compare_x_2 traits.compare_x_2_object () const
Compare_y_2 traits.compare_y_2_object () const
Snap_2 traits.snap_2_object () const
Integer_grid_point_2 traits.integer_grid_point_2_object () const
Minkowski_sum_with_pixel_2 traits.minkowski_sum_with_pixel_2_object () const

Has Models

CGAL::Snap_rounding_traits<Kernel>

See Also

CGAL::Snap_rounding_2<Traits>