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_points< ReturnType > Struct Template Reference

Policy calculating the intersection points themselves. More...

#include <intersection_points.hpp>

Public Types

typedef ReturnType return_type
 

Static Public Member Functions

template<typename Point , typename Segment , typename SegmentRatio , typename T >
static void assign (Point &point, Segment const &segment, SegmentRatio const &ratio, T const &dx, T const &dy)
 
template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type segments_crosses (side_info const &, SegmentIntersectionInfo const &sinfo, Segment1 const &s1, Segment2 const &s2)
 
template<typename Segment1 , typename Segment2 , typename Ratio >
static return_type segments_collinear (Segment1 const &a, Segment2 const &b, 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 &degenerate_segment, Ratio const &ratio, bool a_degenerate)
 

Detailed Description

template<typename ReturnType>
struct boost::geometry::policies::relate::segments_intersection_points< ReturnType >

Policy calculating the intersection points themselves.

Member Typedef Documentation

template<typename ReturnType >
typedef ReturnType boost::geometry::policies::relate::segments_intersection_points< ReturnType >::return_type

Member Function Documentation

template<typename ReturnType >
template<typename Point , typename Segment , typename SegmentRatio , typename T >
static void boost::geometry::policies::relate::segments_intersection_points< ReturnType >::assign ( Point &  point,
Segment const &  segment,
SegmentRatio const &  ratio,
T const &  dx,
T const &  dy 
)
inlinestatic
template<typename ReturnType >
template<typename Segment >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::degenerate ( Segment const &  segment,
bool   
)
inlinestatic
template<typename ReturnType >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::disjoint ( )
inlinestatic
template<typename ReturnType >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::error ( std::string const &  )
inlinestatic
template<typename ReturnType >
template<typename Segment , typename Ratio >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::one_degenerate ( Segment const &  degenerate_segment,
Ratio const &  ratio,
bool  a_degenerate 
)
inlinestatic
template<typename ReturnType >
template<typename Segment1 , typename Segment2 , typename Ratio >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::segments_collinear ( Segment1 const &  a,
Segment2 const &  b,
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

References boost::a, boost::asio::b, and boost::swap.

template<typename ReturnType >
template<typename Segment1 , typename Segment2 , typename SegmentIntersectionInfo >
static return_type boost::geometry::policies::relate::segments_intersection_points< ReturnType >::segments_crosses ( side_info const &  ,
SegmentIntersectionInfo const &  sinfo,
Segment1 const &  s1,
Segment2 const &  s2 
)
inlinestatic

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