@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, sizeof
address, asByteBuffer, availablePhysicalBytes, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, 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, zero
public 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 FloatPointer
public Size2f getPointer(long i)
getPointer
in class FloatPointer
public float area()
public double aspectRatio()
public float width()
public Size2f width(float setter)
public float height()
public Size2f height(float setter)
Copyright © 2024. All rights reserved.