JetGeom Namespace Reference

Classes

class  point_t
class  point_set_t
class  point_vect_t
class  line_t

Typedefs

typedef std::list< point_tpoint_list_t

Functions

template<class inT , class ouT >
void findConvexHull (inT &inSet, ouT &outSet)
template<class ouT >
void findConvexHull (point_set_t &inSet, ouT &outSet)
 specialization for point_set_t
template<class inT >
void _findConvexHull (point_set_t &inSet, inT &outSet)
void testHullLine (point_list_t &hull, point_t p)
template<class T >
float polygon_area (T &line)
template<class T >
float polygon_lenght (T &line)
template<class T >
float getMeanPhi (T &set)
template<class T >
float max_deltaR (point_t p, T &set)
 Return max distance betweens point.
template<class T , class T2 >
void recenter_set (T &inSet, T2 &outSet, float phicenter)
 copy
template<class T , class T2 >
void recenter_set (T &inSet, T2 &outSet)
float in_mPI_pPI (float phi)
 convert
void fix2pi (point_t &p)
 convert
float deltaR (point_t &p1, point_t &p2)
 distances between points
float deltaR2 (point_t &p1, point_t &p2)
float deltaPhi (point_t &p1, point_t &p2)
float deltaPhi (float phi1, float phi2)
void listToSet (point_list_t &inList, point_set_t &outSet)
template<class T >
void clear_delete (T &container)
template<class T >
void delete_content (T &container)
float abs_dphi (float phi1, float phi2)
point_t recenter (const point_t &p, const point_t &center)
point_t recenter (const point_t &p, float phicenter)
template<class T >
void _findConvexHull (point_set_t &inSet, T &outSet)

Detailed Description

A collection of routines for geometric tasks in 2D and on a cylinder. Including a convex hull finder.

Author:
P.A. Delsart
Date:
(first implementation) June , 2007

Function Documentation

template<class inT , class ouT >
void JetGeom::findConvexHull ( inT &  inSet,
ouT &  outSet 
) [inline]

Find convex hull of a set of points in euclidian plan. The hull points are filled into

Parameters:
outSet 
void JetGeom::fix2pi ( point_t &  p  )  [inline]

convert

Parameters:
p second coordinate (phi) into a value in [-Pi,Pi]
template<class T >
float JetGeom::getMeanPhi ( T set  )  [inline]

return average phi (i.e. second coordinate) of the point container

Parameters:
set,if max(deltaphi) < pi (i.e. points are located on one side of cylinder) otherwise return -10.
float JetGeom::in_mPI_pPI ( float  phi  )  [inline]

convert

Parameters:
phi into a value in [-Pi,Pi]
template<class T >
float JetGeom::max_deltaR ( point_t  p,
T set 
) [inline]

Return max distance betweens point.

Parameters:
p and points of
set 
template<class T , class T2 >
void JetGeom::recenter_set ( T inSet,
T2 &  outSet 
) [inline]

copy

Parameters:
inSet into
outSet with all phi coordonitates recentered by average phi of
inSet 
template<class T , class T2 >
void JetGeom::recenter_set ( T inSet,
T2 &  outSet,
float  phicenter 
) [inline]

copy

Parameters:
inSet into
outSet with all phi coordonitates recnetered by phicenter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1