1 #ifndef FourPointPlaneBounds_H
2 #define FourPointPlaneBounds_H
19 float length()
const override;
20 float width()
const override;
40 return -v.
y() * (x - cor.
x()) + v.
x() * (y - cor.
y());
LocalPoint::ScalarType Scalar
~FourPointPlaneBounds() override
Bounds * clone() const override
float width() const override
const edm::EventSetup & c
double checkSide(int i, Scalar x, Scalar y) const
float thickness() const override
bool inside(const Local3DPoint &lp, const LocalError &e, float scale) const override
Determine if a point is inside the bounds, taking error into account.
FourPointPlaneBounds(const LocalPoint &a, const LocalPoint &b, const LocalPoint &c, const LocalPoint &d)
float length() const override
bool inside(const Local3DPoint &lp) const override
Determine if the point is inside the bounds.
const Local2DPoint & corner(int i) const
double checkSide(int i, const Local2DPoint &lp) const
Vector2DBase< float, LocalTag > Local2DVector