Go to the documentation of this file. 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());
bool inside(const Local3DPoint &lp, const LocalError &e, float scale) const override
Determine if a point is inside the bounds, taking error into account.
Bounds * clone() const override
float width() const override
bool inside(const Local3DPoint &lp) const override
Determine if the point is inside the bounds.
float thickness() const override
FourPointPlaneBounds(const LocalPoint &a, const LocalPoint &b, const LocalPoint &c, const LocalPoint &d)
~FourPointPlaneBounds() override
Vector2DBase< float, LocalTag > Local2DVector
const Local2DPoint & corner(int i) const
double checkSide(int i, Scalar x, Scalar y) const
float length() const override
double checkSide(int i, const Local2DPoint &lp) const
LocalPoint::ScalarType Scalar