@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
|
Point2d |
getPointer(long i) |
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, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Point2d(Pointer p)
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 Point2d getPointer(long i)
getPointer
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 © 2024. All rights reserved.