113 VP_EXPLICIT
vpPolygon(
const std::vector<vpImagePoint> &corners);
114 VP_EXPLICIT
vpPolygon(
const std::list<vpImagePoint> &corners);
120 vpPolygon &buildFrom(
const std::vector<vpImagePoint> &corners,
const bool &create_convex_hull =
false);
121 vpPolygon &buildFrom(
const std::list<vpImagePoint> &corners,
const bool &create_convex_hull =
false);
123 const bool &create_convex_hull =
false);
125 unsigned int getSize()
const;
127 unsigned int thickness = 1);
129 unsigned int thickness = 1);
131 bool isInside(
const vpImagePoint &iP,
const PointInPolygonMethod &method = PnPolyRayCasting)
const;
169 static bool isInside(
const std::vector<vpImagePoint> &roi,
const double &i,
const double &j,
170 const PointInPolygonMethod &method = PnPolyRayCasting);
173 void init(
const std::vector<vpImagePoint> &corners);
174 void init(
const std::list<vpImagePoint> &corners);
177 void updateBoundingBox();
196 void precalcValuesPnPoly();
198 std::vector<double> m_PnPolyConstants;
199 std::vector<double> m_PnPolyMultiples;