@Name(value="cv::Point3_<int>") @NoOffset @Properties(inherit=opencv_core.class) public class Point3i extends IntPointer
x, y and z.
An instance of the class is interchangeable with the C structure CvPoint2D32f . Similarly to Point_ , the coordinates of 3D points can be converted to another type. The vector arithmetic and comparison operations are also supported.
The following Point3_\<\> aliases are available:
typedef Point3_<int> Point3i;
typedef Point3_<float> Point3f;
typedef Point3_<double> Point3d;
cv::Point3i, cv::Point3f and cv::Point3dPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
Point3i()
default constructor
|
Point3i(int _x,
int _y,
int _z) |
Point3i(long size)
Native array allocator.
|
Point3i(Point pt) |
Point3i(Point3i pt) |
Point3i(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Point3i |
cross(Point3i pt)
cross product of the 2 3D points
|
double |
ddot(Point3i pt)
dot product computed in double-precision arithmetics
|
int |
dot(Point3i pt)
dot product
|
Point3i |
getPointer(long i) |
Point3i |
position(long position) |
Point3i |
put(Point3i pt) |
int |
x()
x coordinate of the 3D point
|
Point3i |
x(int setter) |
int |
y()
y coordinate of the 3D point
|
Point3i |
y(int setter) |
int |
z()
z coordinate of the 3D point
|
Point3i |
z(int setter) |
asBuffer, capacity, get, get, get, get, getString, getStringCodePoints, limit, put, put, put, put, putString, sizeofaddress, 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, zeropublic Point3i(Pointer p)
Pointer(Pointer).public Point3i(long size)
Pointer.position(long).public Point3i()
public Point3i(int _x,
int _y,
int _z)
public Point3i position(long position)
position in class IntPointerpublic Point3i getPointer(long i)
getPointer in class IntPointerpublic double ddot(@Const @ByRef Point3i pt)
public int x()
public Point3i x(int setter)
public int y()
public Point3i y(int setter)
public int z()
public Point3i z(int setter)
Copyright © 2025. All rights reserved.