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) {
virtual float width() const
virtual float length() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
FourPointPlaneBounds(const LocalPoint &a, const LocalPoint &b, const LocalPoint &c, const LocalPoint &d)
virtual bool inside(const Local3DPoint &lp) const
Determine if the point is inside the bounds.
virtual float thickness() const
const Local2DPoint & corner(int i) const
double checkSide(int i, const Local2DPoint &lp) const
Point2DBase< float, LocalTag > Local2DPoint