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_direction Struct Reference

#include <direction.hpp>

Public Types

typedef direction_type return_type
 

Static Public Member Functions

template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type segments_crosses (side_info const &sides, SegmentIntersectionInfo const &, Segment1 const &, Segment2 const &)
 
template<typename Ratio >
static int arrival_value (Ratio const &r_from, Ratio const &r_to)
 
template<typename Ratio >
static void analyze (Ratio const &r, int &in_segment_count, int &on_end_count, int &outside_segment_count)
 
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 Segment >
static return_type degenerate (Segment const &, bool)
 
template<typename Segment , typename Ratio >
static return_type one_degenerate (Segment const &, Ratio const &, bool)
 
static return_type disjoint ()
 
static return_type error (std::string const &)
 

Member Typedef Documentation

Member Function Documentation

template<typename Ratio >
static void boost::geometry::policies::relate::segments_direction::analyze ( Ratio const &  r,
int &  in_segment_count,
int &  on_end_count,
int &  outside_segment_count 
)
inlinestatic

Referenced by segments_collinear().

template<typename Ratio >
static int boost::geometry::policies::relate::segments_direction::arrival_value ( Ratio const &  r_from,
Ratio const &  r_to 
)
inlinestatic

Referenced by segments_collinear().

template<typename Segment >
static return_type boost::geometry::policies::relate::segments_direction::degenerate ( Segment const &  ,
bool   
)
inlinestatic
static return_type boost::geometry::policies::relate::segments_direction::disjoint ( )
inlinestatic
static return_type boost::geometry::policies::relate::segments_direction::error ( std::string const &  )
inlinestatic
template<typename Segment , typename Ratio >
static return_type boost::geometry::policies::relate::segments_direction::one_degenerate ( Segment const &  ,
Ratio const &  ,
bool   
)
inlinestatic
template<typename Segment1 , typename Segment2 , typename Ratio >
static return_type boost::geometry::policies::relate::segments_direction::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 Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type boost::geometry::policies::relate::segments_direction::segments_crosses ( side_info const &  sides,
SegmentIntersectionInfo const &  ,
Segment1 const &  ,
Segment2 const &   
)
inlinestatic

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