BWAPI
Namespaces | Functions
SPAR/AIModule/BWTA/vendors/CGAL/CGAL/squared_distance_2_1.h File Reference
#include <CGAL/user_classes.h>
#include <CGAL/kernel_assertions.h>
#include <CGAL/Point_2.h>
#include <CGAL/Segment_2.h>
#include <CGAL/Line_2.h>
#include <CGAL/Ray_2.h>
#include <CGAL/enum.h>
#include <CGAL/wmult.h>
#include <CGAL/squared_distance_utils.h>
Include dependency graph for squared_distance_2_1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CGALi

Functions

template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt1, const typename K::Point_2 &pt2, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt, const typename K::Line_2 &line, const K &, const Homogeneous_tag &)
template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt, const typename K::Line_2 &line, const K &, const Cartesian_tag &)
template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt, const typename K::Line_2 &line, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Line_2 &line, const typename K::Point_2 &pt, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt, const typename K::Ray_2 &ray, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Ray_2 &ray, const typename K::Point_2 &pt, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Point_2 &pt, const typename K::Segment_2 &seg, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Segment_2 &seg, const typename K::Point_2 &pt, const K &k)
template<class K >
K::FT CGALi::squared_distance_parallel (const typename K::Segment_2 &seg1, const typename K::Segment_2 &seg2, const K &k)
template<class K >
K::RT CGALi::_distance_measure_sub (const typename K::RT &startwcross, const typename K::RT &endwcross, const typename K::Point_2 &start, const typename K::Point_2 &end)
template<class K >
K::FT CGALi::squared_distance (const typename K::Segment_2 &seg1, const typename K::Segment_2 &seg2, const K &k)
template<class K >
K::RT CGALi::_distance_measure_sub (const typename K::RT &startwcross, const typename K::RT &endwcross, const typename K::Vector_2 &start, const typename K::Vector_2 &end)
template<class K >
K::FT CGALi::squared_distance_parallel (const typename K::Segment_2 &seg, const typename K::Ray_2 &ray, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Segment_2 &seg, const typename K::Ray_2 &ray, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Ray_2 &ray, const typename K::Segment_2 &seg, const K &k)
template<class K >
K::FT CGALi::_sqd_to_line (const typename K::Vector_2 &diff, const typename K::RT &wcross, const typename K::Vector_2 &dir)
template<class K >
K::FT CGALi::squared_distance (const typename K::Segment_2 &seg, const typename K::Line_2 &line, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Line_2 &line, const typename K::Segment_2 &seg, const K &k)
template<class K >
K::FT CGALi::ray_ray_squared_distance_parallel (const typename K::Vector_2 &ray1dir, const typename K::Vector_2 &ray2dir, const typename K::Vector_2 &from1to2, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Ray_2 &ray1, const typename K::Ray_2 &ray2, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Line_2 &line, const typename K::Ray_2 &ray, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Ray_2 &ray, const typename K::Line_2 &line, const K &k)
template<class K >
K::FT CGALi::squared_distance (const typename K::Line_2 &line1, const typename K::Line_2 &line2, const K &k)
template<class K >
void CGALi::distance_index (int &ind, const typename K::Point_2 &pt, const typename K::Ray_2 &ray, const K &k)
template<class K >
void CGALi::distance_index (int &ind, const typename K::Point_2 &pt, const typename K::Segment_2 &seg, const K &k)
template<class K >
K::FT CGALi::squared_distance_indexed (const typename K::Point_2 &pt, const typename K::Ray_2 &ray, int ind, const K &k)
template<class K >
K::FT CGALi::squared_distance_indexed (const typename K::Point_2 &pt, const typename K::Segment_2 &seg, int ind, const K &k)
template<class K >
K::FT squared_distance (const Point_2< K > &pt1, const Point_2< K > &pt2)
template<class K >
K::FT squared_distance (const Point_2< K > &pt, const Line_2< K > &line)
template<class K >
K::FT squared_distance (const Line_2< K > &line, const Point_2< K > &pt)
template<class K >
K::FT squared_distance (const Point_2< K > &pt, const Ray_2< K > &ray)
template<class K >
K::FT squared_distance (const Ray_2< K > &ray, const Point_2< K > &pt)
template<class K >
K::FT squared_distance (const Point_2< K > &pt, const Segment_2< K > &seg)
template<class K >
K::FT squared_distance (const Segment_2< K > &seg, const Point_2< K > &pt)
template<class K >
K::FT squared_distance (const Segment_2< K > &seg1, const Segment_2< K > &seg2)
template<class K >
K::FT squared_distance (const Segment_2< K > &seg, const Ray_2< K > &ray)
template<class K >
K::FT squared_distance (const Ray_2< K > &ray, const Segment_2< K > &seg)
template<class K >
K::FT squared_distance (const Segment_2< K > &seg, const Line_2< K > &line)
template<class K >
K::FT squared_distance (const Line_2< K > &line, const Segment_2< K > &seg)
template<class K >
K::FT squared_distance (const Ray_2< K > &ray1, const Ray_2< K > &ray2)
template<class K >
K::FT squared_distance (const Line_2< K > &line, const Ray_2< K > &ray)
template<class K >
K::FT squared_distance (const Ray_2< K > &ray, const Line_2< K > &line)
template<class K >
K::FT squared_distance (const Line_2< K > &line1, const Line_2< K > &line2)

Function Documentation

template<class K >
K::FT squared_distance ( const Point_2< K > &  pt1,
const Point_2< K > &  pt2 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Point_2< K > &  pt,
const Line_2< K > &  line 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Line_2< K > &  line,
const Point_2< K > &  pt 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Point_2< K > &  pt,
const Ray_2< K > &  ray 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Ray_2< K > &  ray,
const Point_2< K > &  pt 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Point_2< K > &  pt,
const Segment_2< K > &  seg 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Segment_2< K > &  seg,
const Point_2< K > &  pt 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Segment_2< K > &  seg1,
const Segment_2< K > &  seg2 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Segment_2< K > &  seg,
const Ray_2< K > &  ray 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Ray_2< K > &  ray,
const Segment_2< K > &  seg 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Segment_2< K > &  seg,
const Line_2< K > &  line 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Line_2< K > &  line,
const Segment_2< K > &  seg 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Ray_2< K > &  ray1,
const Ray_2< K > &  ray2 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Line_2< K > &  line,
const Ray_2< K > &  ray 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Ray_2< K > &  ray,
const Line_2< K > &  line 
) [inline]

Here is the call graph for this function:

template<class K >
K::FT squared_distance ( const Line_2< K > &  line1,
const Line_2< K > &  line2 
) [inline]

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines