libpgplotxx.a (C++ interface to PGPLOT)

◆ Tbbox() [2/2]

pgplot::Tbbox::Tbbox ( const float  x[4],
const float  y[4] 
)

initialize from C arrays x and y

Definition at line 38 of file structs.cc.

References coor, pgplot::Tcoor::x, and pgplot::Tcoor::y.

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  }
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