20 #include "RectangularFinitePlane.h"
28 RectangularFinitePlane::RectangularFinitePlane(
const double& umin,
const double& umax,
29 const double& vmin,
const double& vmax)
30 : uMin_(umin),uMax_(umax),vMin_(vmin),vMax_(vmax)
36 RectangularFinitePlane::RectangularFinitePlane()
37 : uMin_(1.),uMax_(-1.),vMin_(1.),vMax_(-1.)
41 RectangularFinitePlane::~RectangularFinitePlane(){
46 return (u>=uMin_ && u<=uMax_ && v>=vMin_ && v<=vMax_);
49 void RectangularFinitePlane::Print(
const Option_t*)
const{
50 printOut <<
"Rectangular Finite Plane Umin=" << uMin_ <<
", Umax="
51 << uMax_ <<
", Vmin=" << vMin_ <<
", Vmax=" << vMax_ << std::endl;
bool isInActive(double u, double v) const
Returns whether a u,v point is in the active plane or not.
Defines for I/O streams used for error and debug printing.
std::ostream printOut
Default stream for output of Print calls.