@Name(value="cv::Point_<float>")
@NoOffset
public static class opencv_core.Point2f
extends org.bytedeco.javacpp.FloatPointer
| Constructor and Description |
|---|
Point2f()
default constructor
|
Point2f(float _x,
float _y) |
Point2f(long size)
Native array allocator.
|
Point2f(opencv_core.Point2f pt) |
Point2f(opencv_core.Size2f sz) |
Point2f(org.bytedeco.javacpp.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.Rect2f 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()
x coordinate of the point
|
opencv_core.Point2f |
x(float x) |
float |
y()
y coordinate of the point
|
opencv_core.Point2f |
y(float y) |
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 Point2f(org.bytedeco.javacpp.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 org.bytedeco.javacpp.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.Rect2f r)
public float x()
public opencv_core.Point2f x(float x)
public float y()
public opencv_core.Point2f y(float y)
Copyright © 2018. All rights reserved.