@Name(value="cv::Point_<float>") @NoOffset @Properties(inherit=opencv_core.class) public class Point2f extends FloatPointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Point2f()
default constructor
|
Point2f(float _x,
float _y) |
Point2f(long size)
Native array allocator.
|
Point2f(Point2f pt) |
Point2f(Pointer p)
Pointer cast constructor.
|
Point2f(Size2f sz) |
| Modifier and Type | Method and Description |
|---|---|
double |
cross(Point2f pt)
cross-product
|
double |
ddot(Point2f pt)
dot product computed in double-precision arithmetics
|
float |
dot(Point2f pt)
dot product
|
boolean |
inside(Rect2f r)
checks whether the point is inside the specified rectangle
|
Point2f |
position(long position) |
Point2f |
put(Point2f pt) |
float |
x()
x coordinate of the point
|
Point2f |
x(float setter) |
float |
y()
y coordinate of the point
|
Point2f |
y(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, hashCode, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, toString, totalBytes, totalPhysicalBytes, 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 position(long position)
position in class FloatPointerpublic double ddot(@Const @ByRef Point2f pt)
@Cast(value="bool") public boolean inside(@Const @ByRef Rect2f r)
public float x()
public Point2f x(float setter)
public float y()
public Point2f y(float setter)
Copyright © 2020. All rights reserved.