#include <core.hpp>
Public Types | |
typedef _Tp | value_type |
Public Member Functions | |
Point_ () | |
Point_ (_Tp _x, _Tp _y) | |
Point_ (const Point_ &pt) | |
Point_ (const CvPoint &pt) | |
Point_ (const CvPoint2D32f &pt) | |
Point_ (const Size_< _Tp > &sz) | |
Point_ (const Vec< _Tp, 2 > &v) | |
Point_ & | operator= (const Point_ &pt) |
template<typename _Tp2 > | |
operator Point_< _Tp2 > () const | |
conversion to another data type More... | |
operator CvPoint () const | |
conversion to the old-style C structures More... | |
operator CvPoint2D32f () const | |
operator Vec< _Tp, 2 > () const | |
_Tp | dot (const Point_ &pt) const |
dot product More... | |
double | ddot (const Point_ &pt) const |
dot product computed in double-precision arithmetics More... | |
double | cross (const Point_ &pt) const |
cross-product More... | |
bool | inside (const Rect_< _Tp > &r) const |
checks whether the point is inside the specified rectangle More... | |
Public Attributes | |
_Tp | x |
_Tp | y |
template 2D point class.
The class defines a point in 2D space. Data type of the point coordinates is specified as a template parameter. There are a few shorter aliases available for user convenience. See cv::Point, cv::Point2i, cv::Point2f and cv::Point2d.
typedef _Tp cv::Point_< _Tp >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
cross-product
|
inline |
dot product computed in double-precision arithmetics
|
inline |
dot product
|
inline |
checks whether the point is inside the specified rectangle
|
inline |
conversion to the old-style C structures
|
inline |
|
inline |
conversion to another data type
|
inline |
|
inline |
_Tp cv::Point_< _Tp >::x |
_Tp cv::Point_< _Tp >::y |