@Name(value="cv::Point_<double>") @NoOffset @Properties(inherit=opencv_core.class) public class Point2d extends DoublePointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Point2d()
default constructor
|
Point2d(double _x,
double _y) |
Point2d(long size)
Native array allocator.
|
Point2d(Point2d pt) |
Point2d(Pointer p)
Pointer cast constructor.
|
Point2d(Size2d sz) |
Modifier and Type | Method and Description |
---|---|
double |
cross(Point2d pt)
cross-product
|
double |
ddot(Point2d pt)
dot product computed in double-precision arithmetics
|
double |
dot(Point2d pt)
dot product
|
boolean |
inside(Rect2d r)
checks whether the point is inside the specified rectangle
|
Point2d |
position(long position) |
Point2d |
put(Point2d pt) |
double |
x()
x coordinate of the point
|
Point2d |
x(double setter) |
double |
y()
y coordinate of the point
|
Point2d |
y(double setter) |
asBuffer, capacity, get, get, get, get, limit, put, put, put, put, sizeof
address, 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, zero
public Point2d(Pointer p)
Pointer.Pointer(Pointer)
.public Point2d(long size)
Pointer.position(long)
.public Point2d()
public Point2d(double _x, double _y)
public Point2d position(long position)
position
in class DoublePointer
public double ddot(@Const @ByRef Point2d pt)
@Cast(value="bool") public boolean inside(@Const @ByRef Rect2d r)
public double x()
public Point2d x(double setter)
public double y()
public Point2d y(double setter)
Copyright © 2020. All rights reserved.