MCPcopy Create free account
hub / github.com/HuTianQi/SmartOpenCV / set

Method set

openCVLibrary411/src/main/java/org/opencv/core/Point.java:22–30  ·  view source on GitHub ↗
(double[] vals)

Source from the content-addressed store, hash-verified

20 }
21
22 public void set(double[] vals) {
23 if (vals != null) {
24 x = vals.length > 0 ? vals[0] : 0;
25 y = vals.length > 1 ? vals[1] : 0;
26 } else {
27 x = 0;
28 y = 0;
29 }
30 }
31
32 public Point clone() {
33 return new Point(x, y);

Callers 1

PointMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected