@Properties(inherit=opencv_core.class) public class CvBox2D extends AbstractCvBox2D
RotatedRect
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CvBox2D()
Default native constructor.
|
CvBox2D(long size)
Native array allocator.
|
CvBox2D(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
angle()
and the first side (i.e.
|
CvBox2D |
angle(float setter) |
RotatedRect |
asRotatedRect() |
CvPoint2D32f |
center()
Center of the box.
|
CvBox2D |
center(CvPoint2D32f setter) |
CvBox2D |
position(long position) |
CvSize2D32f |
size()
Box width and length.
|
CvBox2D |
size(CvSize2D32f setter) |
toString
asBuffer, capacity, get, get, get, get, limit, put, put, put, put, sizeof
address, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, totalBytes, totalPhysicalBytes, withDeallocator, zero
public CvBox2D()
public CvBox2D(long size)
Pointer.position(long)
.public CvBox2D(Pointer p)
Pointer.Pointer(Pointer)
.public CvBox2D position(long position)
position
in class FloatPointer
@ByRef public CvPoint2D32f center()
center
in class AbstractCvBox2D
public CvBox2D center(CvPoint2D32f setter)
center
in class AbstractCvBox2D
@ByRef public CvSize2D32f size()
size
in class AbstractCvBox2D
public CvBox2D size(CvSize2D32f setter)
size
in class AbstractCvBox2D
public float angle()
angle
in class AbstractCvBox2D
public CvBox2D angle(float setter)
angle
in class AbstractCvBox2D
@ByVal @Name(value="operator cv::RotatedRect") public RotatedRect asRotatedRect()
Copyright © 2020. All rights reserved.