@Name(value="cv::Point3_") @NoOffset public static class opencv_core.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::Point3d
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator
Constructor and Description |
---|
opencv_core.Point3i() |
opencv_core.Point3i(int _x,
int _y,
int _z) |
opencv_core.Point3i(long size)
Native array allocator.
|
opencv_core.Point3i(opencv_core.Point pt) |
opencv_core.Point3i(opencv_core.Point3i pt) |
opencv_core.Point3i(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
opencv_core.Point3i |
cross(opencv_core.Point3i pt)
cross product of the 2 3D points
|
double |
ddot(opencv_core.Point3i pt)
dot product computed in double-precision arithmetics
|
int |
dot(opencv_core.Point3i pt)
dot product
|
opencv_core.Point3i |
position(long position) |
opencv_core.Point3i |
put(opencv_core.Point3i pt) |
int |
x() |
opencv_core.Point3i |
x(int x) |
int |
y() |
opencv_core.Point3i |
y(int y) |
int |
z() |
opencv_core.Point3i |
z(int z) |
asBuffer, capacity, get, get, get, get, getString, getStringCodePoints, limit, put, put, put, put, putString
address, asByteBuffer, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, maxBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, totalBytes, withDeallocator, zero
public opencv_core.Point3i(Pointer p)
Pointer.Pointer(Pointer)
.public opencv_core.Point3i(long size)
Pointer.position(long)
.public opencv_core.Point3i()
public opencv_core.Point3i(int _x, int _y, int _z)
public opencv_core.Point3i(@Const@ByRef opencv_core.Point3i pt)
public opencv_core.Point3i(@Const@ByRef opencv_core.Point pt)
public opencv_core.Point3i position(long position)
position
in class IntPointer
@ByRef @Name(value="operator =") public opencv_core.Point3i put(@Const@ByRef opencv_core.Point3i pt)
public int dot(@Const@ByRef opencv_core.Point3i pt)
public double ddot(@Const@ByRef opencv_core.Point3i pt)
@ByVal public opencv_core.Point3i cross(@Const@ByRef opencv_core.Point3i pt)
public int x()
public opencv_core.Point3i x(int x)
public int y()
public opencv_core.Point3i y(int y)
public int z()
public opencv_core.Point3i z(int z)
Copyright © 2016. All rights reserved.