ATLAS Offline Software
Public Member Functions | Public Attributes | Friends | List of all members
internal_poltrig::Pointbase Class Reference
Collaboration diagram for internal_poltrig::Pointbase:

Public Member Functions

 Pointbase ()
 
 Pointbase (const Pointbase &pb)
 
Pointbaseoperator= (const Pointbase &)=default
 
 Pointbase (const double &xx, const double &yy)
 
 Pointbase (const int &idd, const double &xx, const double &yy)
 
 Pointbase (const double &xx, const double &yy, const Type &ttype)
 
 Pointbase (const int &idd, const double &xx, const double &yy, const Type &ttype)
 

Public Attributes

unsigned int id
 
double x
 
double y
 
Type type
 
bool left
 

Friends

bool operator== (const Pointbase &, const Pointbase &)
 
bool operator> (const Pointbase &, const Pointbase &)
 
bool operator< (const Pointbase &, const Pointbase &)
 
bool operator!= (const Pointbase &, const Pointbase &)
 

Detailed Description

Definition at line 1207 of file PolygonTriangulator.cxx.

Constructor & Destructor Documentation

◆ Pointbase() [1/6]

internal_poltrig::Pointbase::Pointbase ( )
inline

Definition at line 1211 of file PolygonTriangulator.cxx.

1211 :id(0),x(0),y(0),type(UNKNOWN),left(true) {}

◆ Pointbase() [2/6]

internal_poltrig::Pointbase::Pointbase ( const Pointbase pb)

Definition at line 1330 of file PolygonTriangulator.cxx.

1331  {
1332  this->id=pb.id;
1333  this->x=pb.x;
1334  this->y=pb.y;
1335  this->type=pb.type;
1336  this->left=pb.left;
1337  }

◆ Pointbase() [3/6]

internal_poltrig::Pointbase::Pointbase ( const double &  xx,
const double &  yy 
)
inline

Definition at line 1215 of file PolygonTriangulator.cxx.

1216  :id(0), x(xx), y(yy), type(UNKNOWN), left(true) { }

◆ Pointbase() [4/6]

internal_poltrig::Pointbase::Pointbase ( const int &  idd,
const double &  xx,
const double &  yy 
)
inline

Definition at line 1218 of file PolygonTriangulator.cxx.

1219  :id(idd), x(xx), y(yy), type(UNKNOWN),left(true) { }

◆ Pointbase() [5/6]

internal_poltrig::Pointbase::Pointbase ( const double &  xx,
const double &  yy,
const Type ttype 
)
inline

Definition at line 1221 of file PolygonTriangulator.cxx.

1222  :id(0), x(xx), y(yy), type(ttype),left(true) { }

◆ Pointbase() [6/6]

internal_poltrig::Pointbase::Pointbase ( const int &  idd,
const double &  xx,
const double &  yy,
const Type ttype 
)
inline

Definition at line 1224 of file PolygonTriangulator.cxx.

1225  :id(idd),x(xx), y(yy), type(ttype),left(true) { }

Member Function Documentation

◆ operator=()

Pointbase& internal_poltrig::Pointbase::operator= ( const Pointbase )
default

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const Pointbase pa,
const Pointbase pb 
)
friend

Definition at line 1360 of file PolygonTriangulator.cxx.

1361  {
1362  return !(pa.x==pb.x && pa.y==pb.y);
1363  }

◆ operator<

bool operator< ( const Pointbase pa,
const Pointbase pb 
)
friend

Definition at line 1354 of file PolygonTriangulator.cxx.

1355  {
1356  return( (pa.y < pb.y) || ( (pa.y==pb.y) && (pa.x > pb.x)) );
1357  }

◆ operator==

bool operator== ( const Pointbase pa,
const Pointbase pb 
)
friend

Definition at line 1342 of file PolygonTriangulator.cxx.

1343  {
1344  return (pa.x==pb.x && pa.y==pb.y);
1345  }

◆ operator>

bool operator> ( const Pointbase pa,
const Pointbase pb 
)
friend

Definition at line 1348 of file PolygonTriangulator.cxx.

1349  {
1350  return( (pa.y > pb.y) || ( (pa.y==pb.y) && (pa.x < pb.x)) );
1351  }

Member Data Documentation

◆ id

unsigned int internal_poltrig::Pointbase::id

Definition at line 1234 of file PolygonTriangulator.cxx.

◆ left

bool internal_poltrig::Pointbase::left

Definition at line 1237 of file PolygonTriangulator.cxx.

◆ type

Type internal_poltrig::Pointbase::type

Definition at line 1236 of file PolygonTriangulator.cxx.

◆ x

double internal_poltrig::Pointbase::x

Definition at line 1235 of file PolygonTriangulator.cxx.

◆ y

double internal_poltrig::Pointbase::y

Definition at line 1235 of file PolygonTriangulator.cxx.


The documentation for this class was generated from the following file:
keylayer_zslicemap.pb
pb
Definition: keylayer_zslicemap.py:188
PlotCalibFromCool.yy
yy
Definition: PlotCalibFromCool.py:714
internal_poltrig::Pointbase::x
double x
Definition: PolygonTriangulator.cxx:1235
internal_poltrig::UNKNOWN
@ UNKNOWN
Definition: PolygonTriangulator.cxx:112
internal_poltrig::Pointbase::left
bool left
Definition: PolygonTriangulator.cxx:1237
internal_poltrig::Pointbase::y
double y
Definition: PolygonTriangulator.cxx:1235
internal_poltrig::Pointbase::type
Type type
Definition: PolygonTriangulator.cxx:1236
internal_poltrig::Pointbase::id
unsigned int id
Definition: PolygonTriangulator.cxx:1234