Struct opencv::core::RotatedRect
[−]
[src]
pub struct RotatedRect { pub ptr: *mut c_void, }
Fields
ptr |
Methods
impl RotatedRect
fn as_raw_RotatedRect(&self) -> *mut c_void
impl RotatedRect
fn default() -> Result<RotatedRect, String>
various constructors
fn new(center: Point2f, size: Size2f, angle: f32) -> Result<RotatedRect, String>
fn bounding_rect(&self) -> Result<Rect, String>
returns the minimal up-right rectangle containing the rotated rectangle