@Name(value="cv::Size_<double>")
@NoOffset
public static class opencv_core.Size2d
extends org.bytedeco.javacpp.DoublePointer
| Constructor and Description |
|---|
Size2d()
default constructor
|
Size2d(double _width,
double _height) |
Size2d(long size)
Native array allocator.
|
Size2d(opencv_core.Point2d pt) |
Size2d(opencv_core.Size2d sz) |
Size2d(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
area()
the area (width*height)
|
boolean |
empty()
true if empty
|
double |
height()
the height
|
opencv_core.Size2d |
height(double height) |
opencv_core.Size2d |
position(long position) |
opencv_core.Size2d |
put(opencv_core.Size2d sz) |
double |
width()
the width
|
opencv_core.Size2d |
width(double width) |
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(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public Size2d(long size)
Pointer.position(long).public Size2d()
public Size2d(double _width,
double _height)
public Size2d(@Const @ByRef
opencv_core.Size2d sz)
public Size2d(@Const @ByRef
opencv_core.Point2d pt)
public opencv_core.Size2d position(long position)
position in class org.bytedeco.javacpp.DoublePointer@ByRef @Name(value="operator =") public opencv_core.Size2d put(@Const @ByRef opencv_core.Size2d sz)
public double area()
@Cast(value="bool") public boolean empty()
public double width()
public opencv_core.Size2d width(double width)
public double height()
public opencv_core.Size2d height(double height)
Copyright © 2018. All rights reserved.