fastjet::Point Class Reference

class to handle a 2d point More...

#include <Voronoi.hh>

List of all members.

Public Member Functions

 Point ()
 defailt ctor
 Point (double _x, double _y)
 ctor with initialisation
Point operator+ (const Point &p) const
 addition
Point operator- (const Point &p) const
 subtraction
Point operator * (const double t) const
 scalar multiplication

Public Attributes

double x
 vector coordinates
double y


Detailed Description

class to handle a 2d point

Definition at line 78 of file Voronoi.hh.


Constructor & Destructor Documentation

fastjet::Point::Point (  )  [inline]

defailt ctor

Definition at line 81 of file Voronoi.hh.

00081 : x(0.0), y(0.0) {}

fastjet::Point::Point ( double  _x,
double  _y 
) [inline]

ctor with initialisation

Definition at line 84 of file Voronoi.hh.

00084 : x(_x), y(_y) {}


Member Function Documentation

Point fastjet::Point::operator+ ( const Point p  )  const [inline]

addition

Definition at line 87 of file Voronoi.hh.

References x, and y.

00087                                                 {
00088     return Point(x+p.x, y+p.y);
00089   }

Point fastjet::Point::operator- ( const Point p  )  const [inline]

subtraction

Definition at line 92 of file Voronoi.hh.

References x, and y.

00092                                                 {
00093     return Point(x-p.x, y-p.y);
00094   }

Point fastjet::Point::operator * ( const double  t  )  const [inline]

scalar multiplication

Definition at line 97 of file Voronoi.hh.

00097                                                 {
00098     return Point(x*t, y*t);
00099   }


Member Data Documentation

double fastjet::Point::x

vector coordinates

Definition at line 102 of file Voronoi.hh.

Referenced by fastjet::DnnPlane::_euclid_distance(), fastjet::VoronoiDiagramGenerator::bisect(), fastjet::VoronoiDiagramGenerator::clip_line(), fastjet::VoronoiDiagramGenerator::dist(), fastjet::ClusterSequenceVoronoiArea::VoronoiAreaCalc::edge_circle_intersection(), fastjet::VoronoiDiagramGenerator::ELleftbnd(), fastjet::DnnPlane::etaphi(), fastjet::VoronoiDiagramGenerator::generateVoronoi(), fastjet::VoronoiDiagramGenerator::intersect(), fastjet::norm(), operator+(), operator-(), fastjet::VoronoiDiagramGenerator::out_site(), fastjet::VoronoiDiagramGenerator::PQ_min(), fastjet::VoronoiDiagramGenerator::PQinsert(), fastjet::VoronoiDiagramGenerator::right_of(), fastjet::scalar_product(), fastjet::scomp(), fastjet::vector_product(), and fastjet::VoronoiDiagramGenerator::voronoi().

double fastjet::Point::y

Definition at line 102 of file Voronoi.hh.

Referenced by fastjet::DnnPlane::_euclid_distance(), fastjet::VoronoiDiagramGenerator::bisect(), fastjet::VoronoiDiagramGenerator::clip_line(), fastjet::VoronoiDiagramGenerator::dist(), fastjet::ClusterSequenceVoronoiArea::VoronoiAreaCalc::edge_circle_intersection(), fastjet::DnnPlane::etaphi(), fastjet::VoronoiDiagramGenerator::generateVoronoi(), fastjet::VoronoiDiagramGenerator::intersect(), fastjet::norm(), operator+(), operator-(), fastjet::VoronoiDiagramGenerator::out_site(), fastjet::VoronoiDiagramGenerator::PQ_min(), fastjet::VoronoiDiagramGenerator::PQinsert(), fastjet::VoronoiDiagramGenerator::right_of(), fastjet::scalar_product(), fastjet::scomp(), fastjet::vector_product(), and fastjet::VoronoiDiagramGenerator::voronoi().


The documentation for this class was generated from the following file:
Generated on Tue Dec 18 17:05:56 2007 for fastjet by  doxygen 1.5.2