Package pyopencv :: Module pyopencvext :: Class Point2f
[hide private]
[frames] | no frames]

Class Point2f

 object --+    
          |    
??.instance --+
              |
             Point2f


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!

To create an instance of Point2f that shares the same data with an ndarray instance, use:
    'Point2f.from_ndarray(a)' or 'asPoint2f(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]
 
__getitem__(self, *args, **kwds) source code
 
__getslice__(self, *args, **kwds) source code
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
__repr__(self)
repr(x)
source code
 
__setitem__(self, *args, **kwds) source code
 
__setslice__(self, *args, **kwds) source code
 
__temp_func(...)
__temp_func( (Point2f)arg1) -> CvPoint :
 
as_Vec2f(...)
as_Vec2f( (Point2f)arg1) -> Vec2f :
 
assign(...)
assign( (Point2f)arg1, (Point2f)pt) -> Point2f :
 
ddot(...)
ddot( (Point2f)arg1, (Point2f)pt) -> float :
 
dot(...)
dot( (Point2f)arg1, (Point2f)pt) -> float :
 
inside(...)
inside( (Point2f)arg1, (Rectf)r) -> bool :

Inherited from unreachable.instance: __new__

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

Static Methods [hide private]
 
from_ndarray(...)
from_ndarray( (object)arr) -> object :
Class Variables [hide private]
  __instance_size__ = 16
Properties [hide private]
  ndarray
  this
  x
  y

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

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

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

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

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

__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, (Size2f)sz) -> None :

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

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

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

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__temp_func(...)

 

__temp_func( (Point2f)arg1) -> CvPoint :

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

__temp_func( (Point2f)arg1) -> CvPoint2D32f :

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

as_Vec2f(...)

 

as_Vec2f( (Point2f)arg1) -> Vec2f :

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

assign(...)

 

assign( (Point2f)arg1, (Point2f)pt) -> Point2f :

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

ddot(...)

 

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

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

dot(...)

 

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

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

from_ndarray(...)
Static Method

 


from_ndarray( (object)arr) -> object :

    C++ signature :
        boost::python::api::object from_ndarray(boost::python::ndarray)
    Creates a Point2f view on an ndarray instance.

inside(...)

 

inside( (Point2f)arg1, (Rectf)r) -> bool :

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


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(...)