16 for (
int i=0;
i<4; ++
i) {
18 throw GeometryError(
"FourPointPlaneBounds: coners not in order or not convex");
24 std::cout <<
"FourPointPlaneBounds: Changing order of corners to counterclockwise" << std::endl;
35 for (
int i=0;
i<4; ++
i) {
float thickness() const override
float width() 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
const Local2DPoint & corner(int i) const
double checkSide(int i, const Local2DPoint &lp) const
Point2DBase< float, LocalTag > Local2DPoint
bool inside(const Local3DPoint &lp) const override
Determine if the point is inside the bounds.