Package pyopencv :: Module cxcore_hpp_point_ext :: Class Point2d
[hide private]
[frames] | no frames]

Class Point2d

 object --+    
          |    
??.instance --+
              |
             Point2d

Property 'ndarray' provides a numpy.ndarray view on the object. If you create a reference to 'ndarray', you must keep the object unchanged until your reference is deleted, or Python may crash! Alternatively, you could create a reference to 'ndarray' by using 'asndarray(obj)', where 'obj' is an instance of this class.

To create an instance of Point2d that shares the same data with an ndarray instance, use: 'asPoint2d(a), where 'a' is an ndarray instance. Similarly, to avoid a potential Python crash, you must keep the current instance unchanged until the reference is deleted.

Instance Methods [hide private]
 
__add__(...)
__add__( (Point2d)arg1, (Point2d)arg2) -> Point2d :
 
__eq__(...)
__eq__( (Point2d)arg1, (Point2d)arg2) -> bool :
 
__getitem__(self, *args, **kwds)
 
__getslice__(self, *args, **kwds)
 
__iadd__(...)
__iadd__( (Point2d)arg1, (Point2d)arg2) -> Point2d :
 
__imul__(...)
__imul__( (Point2d)arg1, (object)arg2) -> Point2d :
 
__init__(...)
__init__( (object)arg1) -> None :
 
__isub__(...)
__isub__( (Point2d)arg1, (Point2d)arg2) -> Point2d :
 
__iter__(self, *args, **kwds)
 
__mul__(...)
__mul__( (Point2d)arg1, (object)arg2) -> Point2d :
 
__neg__(...)
__neg__( (Point2d)arg1) -> Point2d :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
 
__rmul__(...)
__rmul__( (object)arg1, (Point2d)arg2) -> Point2d :
 
__setitem__(self, *args, **kwds)
 
__setslice__(self, *args, **kwds)
 
__sub__(...)
__sub__( (Point2d)arg1, (Point2d)arg2) -> Point2d :
 
__temp_func(...)
__temp_func( (Point2d)arg1) -> CvPoint :
 
assign(...)
assign( (Point2d)arg1, (Point2d)pt) -> Point2d :
 
ddot(...)
ddot( (Point2d)arg1, (Point2d)pt) -> float :
 
dot(...)
dot( (Point2d)arg1, (Point2d)pt) -> float :
 
inside(...)
inside( (Point2d)arg1, (object)r) -> bool :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 24
Properties [hide private]
  ndarray
  this
  x
  y

Inherited from object: __class__

Method Details [hide private]

__add__(...)
(Addition operator)

 

__add__( (Point2d)arg1, (Point2d)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> __add__(cv::Point_<double>,cv::Point_<double>)

__eq__(...)
(Equality operator)

 

__eq__( (Point2d)arg1, (Point2d)arg2) -> bool :

    C++ signature :
        bool __eq__(cv::Point_<double>,cv::Point_<double>)

__iadd__(...)

 

__iadd__( (Point2d)arg1, (Point2d)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> {lvalue} __iadd__(cv::Point_<double> {lvalue},cv::Point_<double>)

__imul__(...)

 

__imul__( (Point2d)arg1, (object)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> {lvalue} __imul__(cv::Point_<double> {lvalue},double)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (object)_x, (object)_y) -> None :

    C++ signature :
        void __init__(_object*,double,double)

__init__( (object)arg1, (Point2d)pt) -> None :

    C++ signature :
        void __init__(_object*,cv::Point_<double>)

__init__( (object)arg1, (CvPoint)pt) -> None :

    C++ signature :
        void __init__(_object*,CvPoint)

__init__( (object)arg1, (CvPoint2D32f)pt) -> None :

    C++ signature :
        void __init__(_object*,CvPoint2D32f)

__init__( (object)arg1, (object)sz) -> None :

    C++ signature :
        void __init__(_object*,cv::Size_<double>)

__init__( (object)arg1, (Vec2d)v) -> None :

    C++ signature :
        void __init__(_object*,cv::Vec<double, 2>)

Overrides: object.__init__

__isub__(...)

 

__isub__( (Point2d)arg1, (Point2d)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> {lvalue} __isub__(cv::Point_<double> {lvalue},cv::Point_<double>)

__mul__(...)

 

__mul__( (Point2d)arg1, (object)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> __mul__(cv::Point_<double>,double)

__neg__(...)

 

__neg__( (Point2d)arg1) -> Point2d :

    C++ signature :
        cv::Point_<double> __neg__(cv::Point_<double>)

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__rmul__(...)

 

__rmul__( (object)arg1, (Point2d)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> __rmul__(double,cv::Point_<double>)

__sub__(...)
(Subtraction operator)

 

__sub__( (Point2d)arg1, (Point2d)arg2) -> Point2d :

    C++ signature :
        cv::Point_<double> __sub__(cv::Point_<double>,cv::Point_<double>)

__temp_func(...)

 

__temp_func( (Point2d)arg1) -> CvPoint :
    
    Wrapped function:
        operator ::CvPoint

    C++ signature :
        CvPoint __temp_func(cv::Point_<double> {lvalue})

__temp_func( (Point2d)arg1) -> CvPoint2D32f :
    
    Wrapped function:
        operator ::CvPoint2D32f

    C++ signature :
        CvPoint2D32f __temp_func(cv::Point_<double> {lvalue})

__temp_func( (Point2d)arg1) -> Vec2d :
    
    Wrapped function:
        operator ::cv::Vec<double, 2>

    C++ signature :
        cv::Vec<double, 2> __temp_func(cv::Point_<double> {lvalue})

assign(...)

 

assign( (Point2d)arg1, (Point2d)pt) -> Point2d :
    
    Wrapped function:
        operator=

    C++ signature :
        cv::Point_<double> {lvalue} assign(cv::Point_<double> {lvalue},cv::Point_<double>)

ddot(...)

 

ddot( (Point2d)arg1, (Point2d)pt) -> float :

    C++ signature :
        double ddot(cv::Point_<double> {lvalue},cv::Point_<double>)

dot(...)

 

dot( (Point2d)arg1, (Point2d)pt) -> float :

    C++ signature :
        double dot(cv::Point_<double> {lvalue},cv::Point_<double>)

inside(...)

 

inside( (Point2d)arg1, (object)r) -> bool :

    C++ signature :
        bool inside(cv::Point_<double> {lvalue},cv::Rect_<double>)


Property Details [hide private]

ndarray

Get Method:
unreachable(...)

this

Get Method:
unreachable(...)

x

Get Method:
unreachable(...)
Set Method:
unreachable(...)

y

Get Method:
unreachable(...)
Set Method:
unreachable(...)