OpenCV 2.4.4

org.opencv.core
Class Point3

java.lang.Object
  extended by org.opencv.core.Point3

public class Point3
extends java.lang.Object

Template class for 3D points specified by its coordinates 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_ Point3i;

// C++ code:

typedef Point3_ Point3f;

typedef Point3_ Point3d;

See Also:
org.opencv.core.Point3_

Field Summary
 double x
           
 double y
           
 double z
           
 
Constructor Summary
Point3()
           
Point3(double[] vals)
           
Point3(double x, double y, double z)
           
Point3(Point p)
           
 
Method Summary
 Point3 clone()
           
 Point3 cross(Point3 p)
           
 double dot(Point3 p)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 void set(double[] vals)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

z

public double z
Constructor Detail

Point3

public Point3()

Point3

public Point3(double[] vals)

Point3

public Point3(double x,
              double y,
              double z)

Point3

public Point3(Point p)
Method Detail

clone

public Point3 clone()
Overrides:
clone in class java.lang.Object

cross

public Point3 cross(Point3 p)

dot

public double dot(Point3 p)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

set

public void set(double[] vals)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

OpenCV 2.4.4 Documentation