Home | Trees | Indices | Help |
---|
|
object --+ | ??.instance --+ | RotatedRect
Possibly rotated rectangle. Reference: http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#rotatedrect 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 RotatedRect that shares the same data with an ndarray instance, use: 'RotatedRect.from_ndarray(a)' or 'asRotatedRect(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.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|
|||
__instance_size__ = 28
|
|
|||
angle | |||
center | |||
ndarray | |||
size | |||
this Possibly rotated rectangle. |
|||
Inherited from |
|
__init__( (object)arg1) -> None : Constructor. Reference: http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#rotatedrect C++ signature : void __init__(_object*) __init__( (object)arg1, (Point2f)_center, (Size2f)_size, (object)_angle) -> None : Constructor. Reference: http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#rotatedrect C++ signature : void __init__(_object*,cv::Point_<float>,cv::Size_<float>,float)
|
helper for pickle
|
repr(x)
|
boundingRect( (RotatedRect)arg1) -> Rect : Returns minimal up-right rectangle that contains the rotated rectangle. Reference: http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#rotatedrect C++ signature : cv::Rect_<int> boundingRect(cv::RotatedRect {lvalue}) |
from_ndarray( (numpy.ndarray)inst_ndarray) -> object : C++ signature : boost::python::api::object from_ndarray(sdcpp::ndarray) Creates a RotatedRect view on an ndarray instance. |
points( (RotatedRect)arg1, (Point2f)pt) -> None : C++ signature : void points(cv::RotatedRect {lvalue},cv::Point_<float>*) |
|
angle
|
center
|
ndarray
|
size
|
thisPossibly rotated rectangle. Reference: http://opencv.willowgarage.com/documentation/cpp/basic_structures.html#rotatedrect
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sun May 02 17:17:03 2010 | http://epydoc.sourceforge.net |