libpgplotxx.a (C++ interface to PGPLOT)

◆ inside()

bool pgplot::Tcoor::inside ( const Trect r) const
inline

return true if coordinate is inside rect r

Definition at line 196 of file structs.h.

References pgplot::Trange::contains(), pgplot::Trect::x, and pgplot::Trect::y.

197  { return(r.x.contains(this->x) && r.y.contains(this->y)); }
float y
y-coordinate shift coordinate by a vector c
Definition: structs.h:188
Here is the call graph for this function: