1 #ifndef FourPointPlaneBounds_H 2 #define FourPointPlaneBounds_H 21 float length()
const override;
22 float width()
const override;
45 return -v.
y() * (x-cor.
x()) + v.
x() * (y-cor.
y());
LocalPoint::ScalarType Scalar
~FourPointPlaneBounds() override
bool inside(const Local3DPoint &lp, const LocalError &e, float scale) const override
Determine if a point is inside the bounds, taking error into account.
float thickness() const override
Vector2DBase< float, LocalTag > Local2DVector
double checkSide(int i, Scalar x, Scalar y) const
float width() const override
FourPointPlaneBounds(const LocalPoint &a, const LocalPoint &b, const LocalPoint &c, const LocalPoint &d)
Bounds * clone() const override
float length() const override
const Local2DPoint & corner(int i) const
double checkSide(int i, const Local2DPoint &lp) const
bool inside(const Local3DPoint &lp) const override
Determine if the point is inside the bounds.