@Name(value="cv::Size_<float>") @NoOffset @Properties(inherit=opencv_core.class) public class Size2f extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Size2f()
default constructor
|
Size2f(float _width,
float _height) |
Size2f(long size)
Native array allocator.
|
Size2f(Point2f pt) |
Size2f(Pointer p)
Pointer cast constructor.
|
Size2f(Size2f sz) |
| Modifier and Type | Method and Description |
|---|---|
float |
area()
the area (width*height)
|
double |
aspectRatio()
aspect ratio (width/height)
|
boolean |
empty()
true if empty
|
Size2f |
getPointer(long i) |
float |
height()
the height
|
Size2f |
height(float setter) |
Size2f |
position(long position) |
Size2f |
put(Size2f sz) |
float |
width()
the width
|
Size2f |
width(float setter) |
asBuffer, capacity, get, get, get, get, limit, put, put, put, put, sizeofaddress, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic Size2f(Pointer p)
Pointer(Pointer).public Size2f(long size)
Pointer.position(long).public Size2f()
public Size2f(float _width,
float _height)
public Size2f position(long position)
position in class FloatPointerpublic Size2f getPointer(long i)
getPointer in class FloatPointerpublic float area()
public double aspectRatio()
public float width()
public Size2f width(float setter)
public float height()
public Size2f height(float setter)
Copyright © 2022. All rights reserved.