Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Coord2D Class Reference

Public Member Functions

 Coord2D ()
 
 Coord2D (double a, double b)
 
Coord2D operator- (const Coord2D &other) const
 
Coord2D operator+ (const Coord2D &other) const
 
Coord2D operator* (double factor) const
 
Coord2D operator/ (double divisor) const
 
double distance2 (const Coord2D &b) const
 

Public Attributes

double x
 
double y
 

Friends

Coord2D operator* (double factor, const Coord2D &coord)
 
double distance2 (const Coord2D &a, const Coord2D &b)
 

Detailed Description

Definition at line 670 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 670 of file fjcore.cc

Constructor & Destructor Documentation

Coord2D::Coord2D ( )
inline

Definition at line 673 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 673 of file fjcore.cc

Referenced by operator*(), operator+(), operator-(), and operator/().

+ Here is the caller graph for this function:

Coord2D::Coord2D ( double  a,
double  b 
)
inline

Definition at line 674 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 674 of file fjcore.cc

Member Function Documentation

double Coord2D::distance2 ( const Coord2D b) const
inline

Definition at line 689 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 689 of file fjcore.cc

References dy, x, and y.

Coord2D Coord2D::operator* ( double  factor) const
inline

Definition at line 679 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 679 of file fjcore.cc

References Coord2D(), x, and y.

+ Here is the call graph for this function:

Coord2D Coord2D::operator+ ( const Coord2D other) const
inline

Definition at line 677 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 677 of file fjcore.cc

References Coord2D(), x, and y.

+ Here is the call graph for this function:

Coord2D Coord2D::operator- ( const Coord2D other) const
inline

Definition at line 675 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 675 of file fjcore.cc

References Coord2D(), x, and y.

+ Here is the call graph for this function:

Coord2D Coord2D::operator/ ( double  divisor) const
inline

Definition at line 683 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 683 of file fjcore.cc

References Coord2D(), x, and y.

+ Here is the call graph for this function:

Friends And Related Function Documentation

double distance2 ( const Coord2D a,
const Coord2D b 
)
friend

Definition at line 685 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 685 of file fjcore.cc

Referenced by ClosestPair2D::Point::distance2().

Coord2D operator* ( double  factor,
const Coord2D coord 
)
friend

Definition at line 680 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 680 of file fjcore.cc

Member Data Documentation

double Coord2D::x

Definition at line 672 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 672 of file fjcore.cc

Referenced by ClosestPair2D::_initialize(), ClosestPair2D::_point2shuffle(), distance2(), operator*(), operator+(), operator-(), and operator/().

double Coord2D::y

Definition at line 672 of file fjcore.cc.

View newest version in sPHENIX GitHub at line 672 of file fjcore.cc

Referenced by ClosestPair2D::_initialize(), ClosestPair2D::_point2shuffle(), distance2(), Private::make_mirror(), operator*(), operator+(), operator-(), and operator/().


The documentation for this class was generated from the following file: