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
ALPAKA_FN_ACC int side(int ieta, int iphi)
const Local2DPoint & corner(int i) const
void swap(Association< C > &lhs, Association< C > &rhs)
float thickness() const override
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.
Point2DBase< float, LocalTag > Local2DPoint
double checkSide(int i, const Local2DPoint &lp) const