Boost.Geometry    Boost C++ Libraries
Public Types | Static Public Member Functions
boost::geometry::policies::relate::segments_intersection_ratios< FractionType > Struct Template Reference

Policy returning segment ratios. More...

List of all members.

Public Types

typedef FractionType return_type

Static Public Member Functions

template<typename Segment >
static return_type degenerate (Segment const &segment, bool)
static return_type disjoint ()
static return_type error (std::string const &)
template<typename Segment , typename Ratio >
static return_type one_degenerate (Segment const &, Ratio const &ratio, bool a_degenerate)
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)
template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type segments_crosses (side_info const &, SegmentIntersectionInfo const &sinfo, Segment1 const &, Segment2 const &)

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 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 &   
) [static]
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 
) [static]
template<typename FractionType >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::disjoint ( ) [static]
template<typename FractionType >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::error ( std::string const &  ) [static]
template<typename FractionType >
template<typename Segment >
static return_type boost::geometry::policies::relate::segments_intersection_ratios< FractionType >::degenerate ( Segment const &  segment,
bool   
) [static]
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 
) [static]

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen