Home
last modified time | relevance | path

Searched refs:Point3 (Results 1 – 10 of 10) sorted by relevance

/external/opencv3/modules/java/common_test/src/org/opencv/test/utils/
DConvertersTest.java6 import org.opencv.core.Point3;
156 List<Point3> points = new ArrayList<Point3>(); in testMat_to_vector_Point3()
160 List<Point3> truth = new ArrayList<Point3>(); in testMat_to_vector_Point3()
161 truth.add(new Point3(2, 14, 12)); in testMat_to_vector_Point3()
162 truth.add(new Point3(31, 19, 22)); in testMat_to_vector_Point3()
163 truth.add(new Point3(10, 44, 45)); in testMat_to_vector_Point3()
164 truth.add(new Point3(5, 41, 31)); in testMat_to_vector_Point3()
171 List<Point3> points = new ArrayList<Point3>(); in testMat_to_vector_Point3d()
175 List<Point3> truth = new ArrayList<Point3>(); in testMat_to_vector_Point3d()
176 truth.add(new Point3(2.0, 4.0, 3.0)); in testMat_to_vector_Point3d()
[all …]
/external/opencv3/modules/core/misc/java/src/java/
Dcore+Point3.java4 public class Point3 { class
8 public Point3(double x, double y, double z) { in Point3() method in Point3
14 public Point3() { in Point3() method in Point3
18 public Point3(Point p) { in Point3() method in Point3
24 public Point3(double[] vals) { in Point3() method in Point3
41 public Point3 clone() { in clone()
42 return new Point3(x, y, z); in clone()
45 public double dot(Point3 p) { in dot()
49 public Point3 cross(Point3 p) { in cross()
50 return new Point3(y * p.z - z * p.y, z * p.x - x * p.z, x * p.y - y * p.x); in cross()
[all …]
Dcore+MatOfPoint3f.java33 public MatOfPoint3f(Point3...a) { in MatOfPoint3f()
43 public void fromArray(Point3...a) { in fromArray()
50 Point3 p = a[i]; in fromArray()
58 public Point3[] toArray() { in toArray()
60 Point3[] ap = new Point3[num]; in toArray()
66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]); in toArray()
70 public void fromList(List<Point3> lp) { in fromList()
71 Point3 ap[] = lp.toArray(new Point3[0]); in fromList()
75 public List<Point3> toList() { in toList()
76 Point3[] ap = toArray(); in toList()
Dcore+MatOfPoint3.java33 public MatOfPoint3(Point3...a) { in MatOfPoint3()
43 public void fromArray(Point3...a) { in fromArray()
50 Point3 p = a[i]; in fromArray()
58 public Point3[] toArray() { in toArray()
60 Point3[] ap = new Point3[num]; in toArray()
66 ap[i] = new Point3(buff[i*_channels], buff[i*_channels+1], buff[i*_channels+2]); in toArray()
70 public void fromList(List<Point3> lp) { in fromList()
71 Point3 ap[] = lp.toArray(new Point3[0]); in fromList()
75 public List<Point3> toList() { in toList()
76 Point3[] ap = toArray(); in toList()
/external/opencv3/modules/core/misc/java/test/
DPoint3Test.java4 import org.opencv.core.Point3;
9 private Point3 p1;
10 private Point3 p2;
16 p1 = new Point3(2, 2, 2); in setUp()
17 p2 = new Point3(1, 1, 1); in setUp()
21 Point3 truth = new Point3(1, 1, 1); in testClone()
27 Point3 dstPoint = p1.cross(p2); in testCross()
28 Point3 truth = new Point3(0, 0, 0); in testCross()
50 p1 = new Point3(); in testPoint3()
60 p1 = new Point3(vals); in testPoint3DoubleArray()
[all …]
/external/opencv3/modules/java/generator/src/java/
Dutils+Converters.java15 import org.opencv.core.Point3;
84 public static Mat vector_Point3i_to_Mat(List<Point3> pts) { in vector_Point3i_to_Mat()
88 public static Mat vector_Point3f_to_Mat(List<Point3> pts) { in vector_Point3f_to_Mat()
92 public static Mat vector_Point3d_to_Mat(List<Point3> pts) { in vector_Point3d_to_Mat()
96 public static Mat vector_Point3_to_Mat(List<Point3> pts, int typeDepth) { in vector_Point3_to_Mat()
105 Point3 p = pts.get(i); in vector_Point3_to_Mat()
118 Point3 p = pts.get(i); in vector_Point3_to_Mat()
131 Point3 p = pts.get(i); in vector_Point3_to_Mat()
190 public static void Mat_to_vector_Point3i(Mat m, List<Point3> pts) { in Mat_to_vector_Point3i()
194 public static void Mat_to_vector_Point3f(Mat m, List<Point3> pts) { in Mat_to_vector_Point3f()
[all …]
/external/opencv3/modules/java/android_test/src/org/opencv/test/
DOpenCVTestCase.java18 import org.opencv.core.Point3;
278 …public static void assertListPoint3Equals(List<Point3> list1, List<Point3> list2, double epsilon) { in assertListPoint3Equals()
376 public static void assertPoint3Equals(Point3 expected, Point3 actual, double eps) { in assertPoint3Equals()
/external/opencv3/modules/java/pure_test/src/org/opencv/test/
DOpenCVTestCase.java22 import org.opencv.core.Point3;
308 …public static void assertListPoint3Equals(List<Point3> list1, List<Point3> list2, double epsilon) { in assertListPoint3Equals()
406 public static void assertPoint3Equals(Point3 expected, Point3 actual, double eps) { in assertPoint3Equals()
/external/skia/tests/
DPoint3Test.cpp109 DEF_TEST(Point3, reporter) { in DEF_TEST() argument
/external/opencv/cvaux/src/
Dcvlee.cpp3531 CvPointFloat Point1,Point3; in _cvLine_LineIntersection() local
3551 Point3.x = pEdge2->node1->node.x; in _cvLine_LineIntersection()
3552 Point3.y = pEdge2->node1->node.y; in _cvLine_LineIntersection()
3559 Point3.x = pEdge2->node2->node.x; in _cvLine_LineIntersection()
3560 Point3.y = pEdge2->node2->node.y; in _cvLine_LineIntersection()
3566 Point3.x = pEdge2->node1->node.x; in _cvLine_LineIntersection()
3567 Point3.y = pEdge2->node1->node.y; in _cvLine_LineIntersection()
3568 x43 = pEdge2->node2->node.x - Point3.x; in _cvLine_LineIntersection()
3569 y43 = pEdge2->node2->node.y - Point3.y; in _cvLine_LineIntersection()
3572 x31 = Point3.x - Point1.x; in _cvLine_LineIntersection()
[all …]