Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::policies::relate::segments_intersection_ratios< FractionType > Struct Template Reference

Policy returning segment ratios. More...

#include <intersection_ratios.hpp>

Public Types

typedef FractionType return_type
 

Static Public Member Functions

template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type segments_crosses (side_info const &, SegmentIntersectionInfo const &sinfo, Segment1 const &, Segment2 const &)
 
template<typename Segment1 , typename Segment2 , typename Ratio >
static return_type segments_collinear (Segment1 const &, Segment2 const &, Ratio const &ra_from_wrt_b, Ratio const &ra_to_wrt_b, Ratio const &rb_from_wrt_a, Ratio const &rb_to_wrt_a)
 
static return_type disjoint ()
 
static return_type error (std::string const &)
 
template<typename Segment >
static return_type degenerate (Segment const &segment, bool)
 
template<typename Segment , typename Ratio >
static return_type one_degenerate (Segment const &, Ratio const &ratio, bool a_degenerate)
 

Detailed Description

template<typename FractionType>
struct boost::geometry::policies::relate::segments_intersection_ratios< FractionType >

Policy returning segment ratios.

Note
Template argument FractionType should be a fraction_type<SegmentRatio>

Member Typedef Documentation

template<typename FractionType >
typedef FractionType boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::return_type

Member Function Documentation

template<typename FractionType >
template<typename Segment >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::degenerate ( Segment const &  segment,
bool   
)
inlinestatic
template<typename FractionType >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::disjoint ( )
inlinestatic
template<typename FractionType >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::error ( std::string const &  )
inlinestatic
template<typename FractionType >
template<typename Segment , typename Ratio >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::one_degenerate ( Segment const &  ,
Ratio const &  ratio,
bool  a_degenerate 
)
inlinestatic
template<typename FractionType >
template<typename Segment1 , typename Segment2 , typename Ratio >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::segments_collinear ( Segment1 const &  ,
Segment2 const &  ,
Ratio const &  ra_from_wrt_b,
Ratio const &  ra_to_wrt_b,
Ratio const &  rb_from_wrt_a,
Ratio const &  rb_to_wrt_a 
)
inlinestatic
template<typename FractionType >
template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::segments_crosses ( side_info const &  ,
SegmentIntersectionInfo const &  sinfo,
Segment1 const &  ,
Segment2 const &   
)
inlinestatic

The documentation for this struct was generated from the following file: