public static class opencv_core.RotatedRect extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_core.RotatedRect()
various constructors
|
opencv_core.RotatedRect(int size) |
opencv_core.RotatedRect(opencv_core.CvBox2D box) |
opencv_core.RotatedRect(opencv_core.Point2f center,
opencv_core.Size2f size,
float angle) |
opencv_core.RotatedRect(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
float |
angle() |
opencv_core.RotatedRect |
angle(float angle) |
opencv_core.CvBox2D |
asCvBox2D()
conversion to the old-style CvBox2D structure
|
opencv_core.Rect |
boundingRect()
returns the minimal up-right rectangle containing the rotated rectangle
|
opencv_core.Point2f |
center() |
opencv_core.RotatedRect |
center(opencv_core.Point2f center) |
void |
points(opencv_core.Point2f pts)
returns 4 vertices of the rectangle
|
opencv_core.RotatedRect |
position(int position) |
opencv_core.Size2f |
size() |
opencv_core.RotatedRect |
size(opencv_core.Size2f size) |
asBuffer, capacity, get, get, get, get, limit, put, put, put, putaddress, asByteBuffer, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_core.RotatedRect(Pointer p)
public opencv_core.RotatedRect(int size)
public opencv_core.RotatedRect()
public opencv_core.RotatedRect(opencv_core.Point2f center, opencv_core.Size2f size, float angle)
public opencv_core.RotatedRect(opencv_core.CvBox2D box)
public opencv_core.RotatedRect position(int position)
position in class FloatPointerpublic void points(opencv_core.Point2f pts)
public opencv_core.Rect boundingRect()
public opencv_core.CvBox2D asCvBox2D()
public opencv_core.Point2f center()
public opencv_core.RotatedRect center(opencv_core.Point2f center)
public opencv_core.Size2f size()
public opencv_core.RotatedRect size(opencv_core.Size2f size)
public float angle()
public opencv_core.RotatedRect angle(float angle)
Copyright © 2014. All Rights Reserved.