@Name(value="cv::Point_<float>") @NoOffset public static class opencv_core.Point2f extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Point2f() |
Point2f(float _x,
float _y) |
Point2f(long size)
Native array allocator.
|
Point2f(opencv_core.Point2f pt) |
Point2f(opencv_core.Size2f sz) |
Point2f(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
cross(opencv_core.Point2f pt)
cross-product
|
double |
ddot(opencv_core.Point2f pt)
dot product computed in double-precision arithmetics
|
float |
dot(opencv_core.Point2f pt)
dot product
|
boolean |
inside(opencv_core.Rectf r)
checks whether the point is inside the specified rectangle
|
opencv_core.Point2f |
position(long position) |
opencv_core.Point2f |
put(opencv_core.Point2f pt) |
float |
x() |
opencv_core.Point2f |
x(float x) |
float |
y() |
opencv_core.Point2f |
y(float y) |
asBuffer, capacity, get, get, get, get, limit, put, put, put, putaddress, asByteBuffer, calloc, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic Point2f(Pointer p)
Pointer.Pointer(Pointer).public Point2f(long size)
Pointer.position(long).public Point2f()
public Point2f(float _x,
float _y)
public Point2f(@Const @ByRef opencv_core.Point2f pt)
public Point2f(@Const @ByRef opencv_core.Size2f sz)
public opencv_core.Point2f position(long position)
position in class FloatPointer@ByRef @Name(value="operator =") public opencv_core.Point2f put(@Const @ByRef opencv_core.Point2f pt)
public float dot(@Const @ByRef opencv_core.Point2f pt)
public double ddot(@Const @ByRef opencv_core.Point2f pt)
public double cross(@Const @ByRef opencv_core.Point2f pt)
@Cast(value="bool") public boolean inside(@Const @ByRef opencv_core.Rectf r)
public float x()
public opencv_core.Point2f x(float x)
public float y()
public opencv_core.Point2f y(float y)
Copyright © 2017. All rights reserved.