18 for (
int i = 0;
i < 4; ++
i) {
20 throw GeometryError(
"FourPointPlaneBounds: coners not in order or not convex");
26 std::cout <<
"FourPointPlaneBounds: Changing order of corners to counterclockwise" << std::endl;
34 for (
int i = 0;
i < 4; ++
i) {
float width() const override
const edm::EventSetup & c
float thickness() const override
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
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
Point2DBase< float, LocalTag > Local2DPoint