The class Pm_segment_epsilon_traits<R> is used for finite precision (floating-point) arithmetic. This is a temporary Traits Class. (We plan to implement more sophisticated methods to handle floating point arithmetic at a later stage.) The class uses a predefined (of type double) to decide whether two values should be considered the same. Two real values and are considered equal if . Thus when norm is used, two points , are treated as the same point if max. The value of can be determined through the class's constructor.
#include <CGAL/Pm_segment_epsilon_traits.h>