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