VAT  3.0
Video Analysis Tool
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
polygon2D< T > Class Template Reference

Public Member Functions

 polygon2D (int reserve)
 
polygon2Doperator= (polygon2D &p)
 
polygon2Dcopy ()
 
void computeBoundingRectangle (Rectangle< T > &b)
 
void computeBoundingRectangle ()
 
bool getIntersectionsWithConvexPolygon (double val, bool vertical, double &v1, double &v2)
 
bool counterclockwisePolygon ()
 
polygon2DgetInversedPolygon ()
 
bool pointInPolygon (T x, T y, bool strict)
 
double polygonArea ()
 
bool pointInConvexPolygon (T x, T y, bool strict)
 
bool memmove (int to, int from, int number)
 
QSharedPointer< polygon2D< int > > projectImagePolygon2D (homography_matrix H)
 

Static Public Member Functions

static polygon2DintersectionPolygon (polygon2D *p1, polygon2D *p2)
 
static bool pointPreciselyInConvexPolygon (double x, double y, polygon2D *poly, bool strict)
 
static bool equalPolygons (polygon2D *p1, polygon2D *p2, double allowed_point_error)
 
static polygon2DrectanglesIntersection (polygon2D *rectangle1, polygon2D *rectangle2)
 

Public Attributes

bool bb_done
 
Rectangle< T > boundingBox
 
std::vector< point2D< T > > points
 

The documentation for this class was generated from the following file: