libpgplotxx.a (C++ interface to PGPLOT)
structs.cc
Go to the documentation of this file.
1 
18 #define TF_STRUCTS_CC_VERSION \
19  "TF_STRUCTS_CC V1.0 (17-03-2015)"
20 
21 #include <pgplotxx/structs.h>
22 
23 namespace pgplot {
24 
27  {
28  for (int i=0; i<4 ; ++i)
29  {
30  this->coor[i].x=0;
31  this->coor[i].y=0;
32  }
33  }
34 
35  /*----------------------------------------------------------------------*/
36 
38  Tbbox::Tbbox(const float x[4], const float y[4])
39  {
40  for (int i=0; i<4 ; ++i)
41  {
42  this->coor[i].x=x[i];
43  this->coor[i].y=y[i];
44  }
45  }
46 
47 } // namespace pgplot
48 
49 /* ----- END OF structs.cc ----- */
provide useful structs for pgplotxx (prototypes)
contains all pgplot stuff
Definition: affpgplot.cc:46
float y
y-coordinate shift coordinate by a vector c
Definition: structs.h:188
Tcoor coor[4]
coordinates of four corners default constructor
Definition: structs.h:205
float x
x-coordinate
Definition: structs.h:187
Tbbox()
default constructor
Definition: structs.cc:26