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