Signal/Geometry Processing Library (SPL)  1.1.24
Arcball.hpp File Reference

This file contains the Arcball class and related code. More...

#include <SPL/config.hpp>
#include <CGAL/Plane_3.h>
#include <CGAL/Ray_3.h>
#include "cgalUtil.hpp"

Go to the source code of this file.

Classes

class  SPL::Arcball< T >
 Arcball. More...
 

Functions

template<class T >
T::Point_3 SPL::closestPointOnRay (const typename CGAL::Point_3< T > &rayOrigin, const typename CGAL::Vector_3< T > &rayDir, const typename CGAL::Point_3< T > &point)
 Compute the closest point on a ray to the specified point. More...
 
template<class T >
std::pair< bool, typename T::Point_3 > SPL::findRaySphereIntersection (const typename CGAL::Point_3< T > &sphereCenter, typename T::FT sphereRadius, const typename CGAL::Point_3< T > &rayOrigin, const typename CGAL::Vector_3< T > &rayDir)
 Compute the intersection of a ray and a sphere. More...
 
template<class T >
std::pair< bool, typename T::Point_3 > SPL::findRayPlaneIntersection (const typename CGAL::Point_3< T > &planePoint, const typename CGAL::Vector_3< T > &planeNormal, const typename CGAL::Point_3< T > &rayOrigin, const typename CGAL::Vector_3< T > &rayDir)
 Compute the intersection of a ray and a plane. More...
 

Detailed Description

This file contains the Arcball class and related code.