intersection2.h File Reference

#include <vcg/space/line2.h>
#include <vcg/space/ray2.h>
#include <vcg/space/point2.h>
#include <vcg/space/segment2.h>
#include <vcg/space/triangle3.h>
#include <float.h>
#include <vcg/space/box2.h>
Include dependency graph for intersection2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vcg
 

*


Functions

template<class ScalarType >
bool vcg::CircleLineIntersection (const vcg::Line2< ScalarType > &line, const vcg::Point2< ScalarType > &center, const ScalarType &radius, vcg::Point2< ScalarType > &p0, vcg::Point2< ScalarType > &p1)
template<class SCALAR_TYPE >
bool vcg::Convex (const Point2< SCALAR_TYPE > &p0, const Point2< SCALAR_TYPE > &p1, const Point2< SCALAR_TYPE > &p2)
 return true if the algle is convex (right rotation)
template<class SCALAR_TYPE >
bool vcg::IsInsideTrianglePoint (const Triangle2< SCALAR_TYPE > &t, const Point2< SCALAR_TYPE > &p)
 interseciton between point and triangle
template<class SCALAR_TYPE >
bool vcg::LineLineIntersection (const vcg::Line2< SCALAR_TYPE > &l0, const vcg::Line2< SCALAR_TYPE > &l1, Point2< SCALAR_TYPE > &p)
template<class SCALAR_TYPE >
bool vcg::LineSegmentIntersection (const vcg::Line2< SCALAR_TYPE > &line, const vcg::Segment2< SCALAR_TYPE > &seg, Point2< SCALAR_TYPE > &p_inters)
 interseciton between point and triangle
template<class SCALAR_TYPE >
bool vcg::RayLineIntersection (const vcg::Line2< SCALAR_TYPE > &l, const vcg::Ray2< SCALAR_TYPE > &r, Point2< SCALAR_TYPE > &p)
template<class SCALAR_TYPE >
bool vcg::RaySegmentIntersection (const vcg::Ray2< SCALAR_TYPE > &r, const vcg::Segment2< SCALAR_TYPE > &seg, Point2< SCALAR_TYPE > &p_inters)
 interseciton between point and triangle
template<class SCALAR_TYPE >
bool vcg::SegmentSegmentIntersection (const vcg::Segment2< SCALAR_TYPE > &seg0, const vcg::Segment2< SCALAR_TYPE > &seg1, Point2< SCALAR_TYPE > &p_inters)
 interseciton between point and triangle
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:19:48 2013