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

Public Member Functions

 point2D (T i_x, T i_y)
 
double pointLineDistance (point2D *lpt1, point2D *lpt2)
 
double pointSegmentDistance (point2D *begin, point2D *end)
 

Static Public Member Functions

static double distance (point2D *p1, point2D *p2)
 
static bool isCCWPts (point2D *pPt0, point2D *pPt1, point2D *pPt2)
 
static bool isCCW (double x0, double y0, double x1, double y1, double x2, double y2)
 
static bool processIntersectionLines (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, point2D *pIntersection)
 
static bool isLinesIntersection (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, point2D *pIntersection)
 
static bool pointInSegment (double x, double y, point2D *begin, point2D *end)
 
static bool pointInSegmentStrict (T x, T y, point2D *begin, point2D *end)
 
static Intersection< T > * getSegmentsIntersection (point2D *p1L1, point2D *p2L1, point2D *p1L2, point2D *p2L2)
 
static Intersection< T > * getPreciseSegmentsIntersection (point2D *p1L1, point2D *p2L1, point2D *p1L2, point2D *p2L2)
 
static bool pointPreciselyInSegmentStrict (double x, double y, point2D *begin, point2D *end)
 

Public Attributes

x
 
y
 

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