Point.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_65) on Fri Dec 18 18:19:51 MSK 2015 -->
  6. <title>Point</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="Point";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/core/MatOfRect.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li><a href="../../../org/opencv/core/Point3.html" title="class in org.opencv.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/core/Point.html" target="_top">Frames</a></li>
  56. <li><a href="Point.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.core</div>
  95. <h2 title="Class Point" class="title">Class Point</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>org.opencv.core.Point</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <hr>
  110. <br>
  111. <pre>public class <span class="typeNameLabel">Point</span>
  112. extends java.lang.Object</pre>
  113. </li>
  114. </ul>
  115. </div>
  116. <div class="summary">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <!-- =========== FIELD SUMMARY =========== -->
  120. <ul class="blockList">
  121. <li class="blockList"><a name="field.summary">
  122. <!-- -->
  123. </a>
  124. <h3>Field Summary</h3>
  125. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  126. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  127. <tr>
  128. <th class="colFirst" scope="col">Modifier and Type</th>
  129. <th class="colLast" scope="col">Field and Description</th>
  130. </tr>
  131. <tr class="altColor">
  132. <td class="colFirst"><code>double</code></td>
  133. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#x">x</a></span></code>&nbsp;</td>
  134. </tr>
  135. <tr class="rowColor">
  136. <td class="colFirst"><code>double</code></td>
  137. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#y">y</a></span></code>&nbsp;</td>
  138. </tr>
  139. </table>
  140. </li>
  141. </ul>
  142. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  143. <ul class="blockList">
  144. <li class="blockList"><a name="constructor.summary">
  145. <!-- -->
  146. </a>
  147. <h3>Constructor Summary</h3>
  148. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  149. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  150. <tr>
  151. <th class="colOne" scope="col">Constructor and Description</th>
  152. </tr>
  153. <tr class="altColor">
  154. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#Point--">Point</a></span>()</code>&nbsp;</td>
  155. </tr>
  156. <tr class="rowColor">
  157. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#Point-double:A-">Point</a></span>(double[]&nbsp;vals)</code>&nbsp;</td>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#Point-double-double-">Point</a></span>(double&nbsp;x,
  161. double&nbsp;y)</code>&nbsp;</td>
  162. </tr>
  163. </table>
  164. </li>
  165. </ul>
  166. <!-- ========== METHOD SUMMARY =========== -->
  167. <ul class="blockList">
  168. <li class="blockList"><a name="method.summary">
  169. <!-- -->
  170. </a>
  171. <h3>Method Summary</h3>
  172. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  173. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  174. <tr>
  175. <th class="colFirst" scope="col">Modifier and Type</th>
  176. <th class="colLast" scope="col">Method and Description</th>
  177. </tr>
  178. <tr id="i0" class="altColor">
  179. <td class="colFirst"><code><a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a></code></td>
  180. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#clone--">clone</a></span>()</code>&nbsp;</td>
  181. </tr>
  182. <tr id="i1" class="rowColor">
  183. <td class="colFirst"><code>double</code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#dot-org.opencv.core.Point-">dot</a></span>(<a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a>&nbsp;p)</code>&nbsp;</td>
  185. </tr>
  186. <tr id="i2" class="altColor">
  187. <td class="colFirst"><code>boolean</code></td>
  188. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>&nbsp;</td>
  189. </tr>
  190. <tr id="i3" class="rowColor">
  191. <td class="colFirst"><code>int</code></td>
  192. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
  193. </tr>
  194. <tr id="i4" class="altColor">
  195. <td class="colFirst"><code>boolean</code></td>
  196. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#inside-org.opencv.core.Rect-">inside</a></span>(<a href="../../../org/opencv/core/Rect.html" title="class in org.opencv.core">Rect</a>&nbsp;r)</code>&nbsp;</td>
  197. </tr>
  198. <tr id="i5" class="rowColor">
  199. <td class="colFirst"><code>void</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#set-double:A-">set</a></span>(double[]&nbsp;vals)</code>&nbsp;</td>
  201. </tr>
  202. <tr id="i6" class="altColor">
  203. <td class="colFirst"><code>java.lang.String</code></td>
  204. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/core/Point.html#toString--">toString</a></span>()</code>&nbsp;</td>
  205. </tr>
  206. </table>
  207. <ul class="blockList">
  208. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  209. <!-- -->
  210. </a>
  211. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  212. <code>getClass, notify, notifyAll, wait, wait, wait</code></li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </li>
  217. </ul>
  218. </div>
  219. <div class="details">
  220. <ul class="blockList">
  221. <li class="blockList">
  222. <!-- ============ FIELD DETAIL =========== -->
  223. <ul class="blockList">
  224. <li class="blockList"><a name="field.detail">
  225. <!-- -->
  226. </a>
  227. <h3>Field Detail</h3>
  228. <a name="x">
  229. <!-- -->
  230. </a>
  231. <ul class="blockList">
  232. <li class="blockList">
  233. <h4>x</h4>
  234. <pre>public&nbsp;double x</pre>
  235. </li>
  236. </ul>
  237. <a name="y">
  238. <!-- -->
  239. </a>
  240. <ul class="blockListLast">
  241. <li class="blockList">
  242. <h4>y</h4>
  243. <pre>public&nbsp;double y</pre>
  244. </li>
  245. </ul>
  246. </li>
  247. </ul>
  248. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  249. <ul class="blockList">
  250. <li class="blockList"><a name="constructor.detail">
  251. <!-- -->
  252. </a>
  253. <h3>Constructor Detail</h3>
  254. <a name="Point--">
  255. <!-- -->
  256. </a>
  257. <ul class="blockList">
  258. <li class="blockList">
  259. <h4>Point</h4>
  260. <pre>public&nbsp;Point()</pre>
  261. </li>
  262. </ul>
  263. <a name="Point-double:A-">
  264. <!-- -->
  265. </a>
  266. <ul class="blockList">
  267. <li class="blockList">
  268. <h4>Point</h4>
  269. <pre>public&nbsp;Point(double[]&nbsp;vals)</pre>
  270. </li>
  271. </ul>
  272. <a name="Point-double-double-">
  273. <!-- -->
  274. </a>
  275. <ul class="blockListLast">
  276. <li class="blockList">
  277. <h4>Point</h4>
  278. <pre>public&nbsp;Point(double&nbsp;x,
  279. double&nbsp;y)</pre>
  280. </li>
  281. </ul>
  282. </li>
  283. </ul>
  284. <!-- ============ METHOD DETAIL ========== -->
  285. <ul class="blockList">
  286. <li class="blockList"><a name="method.detail">
  287. <!-- -->
  288. </a>
  289. <h3>Method Detail</h3>
  290. <a name="clone--">
  291. <!-- -->
  292. </a>
  293. <ul class="blockList">
  294. <li class="blockList">
  295. <h4>clone</h4>
  296. <pre>public&nbsp;<a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a>&nbsp;clone()</pre>
  297. <dl>
  298. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  299. <dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  300. </dl>
  301. </li>
  302. </ul>
  303. <a name="dot-org.opencv.core.Point-">
  304. <!-- -->
  305. </a>
  306. <ul class="blockList">
  307. <li class="blockList">
  308. <h4>dot</h4>
  309. <pre>public&nbsp;double&nbsp;dot(<a href="../../../org/opencv/core/Point.html" title="class in org.opencv.core">Point</a>&nbsp;p)</pre>
  310. </li>
  311. </ul>
  312. <a name="equals-java.lang.Object-">
  313. <!-- -->
  314. </a>
  315. <ul class="blockList">
  316. <li class="blockList">
  317. <h4>equals</h4>
  318. <pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;obj)</pre>
  319. <dl>
  320. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  321. <dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  322. </dl>
  323. </li>
  324. </ul>
  325. <a name="hashCode--">
  326. <!-- -->
  327. </a>
  328. <ul class="blockList">
  329. <li class="blockList">
  330. <h4>hashCode</h4>
  331. <pre>public&nbsp;int&nbsp;hashCode()</pre>
  332. <dl>
  333. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  334. <dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  335. </dl>
  336. </li>
  337. </ul>
  338. <a name="inside-org.opencv.core.Rect-">
  339. <!-- -->
  340. </a>
  341. <ul class="blockList">
  342. <li class="blockList">
  343. <h4>inside</h4>
  344. <pre>public&nbsp;boolean&nbsp;inside(<a href="../../../org/opencv/core/Rect.html" title="class in org.opencv.core">Rect</a>&nbsp;r)</pre>
  345. </li>
  346. </ul>
  347. <a name="set-double:A-">
  348. <!-- -->
  349. </a>
  350. <ul class="blockList">
  351. <li class="blockList">
  352. <h4>set</h4>
  353. <pre>public&nbsp;void&nbsp;set(double[]&nbsp;vals)</pre>
  354. </li>
  355. </ul>
  356. <a name="toString--">
  357. <!-- -->
  358. </a>
  359. <ul class="blockListLast">
  360. <li class="blockList">
  361. <h4>toString</h4>
  362. <pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
  363. <dl>
  364. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  365. <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  366. </dl>
  367. </li>
  368. </ul>
  369. </li>
  370. </ul>
  371. </li>
  372. </ul>
  373. </div>
  374. </div>
  375. <!-- ========= END OF CLASS DATA ========= -->
  376. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  377. <div class="bottomNav"><a name="navbar.bottom">
  378. <!-- -->
  379. </a>
  380. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  381. <a name="navbar.bottom.firstrow">
  382. <!-- -->
  383. </a>
  384. <ul class="navList" title="Navigation">
  385. <li><a href="../../../overview-summary.html">Overview</a></li>
  386. <li><a href="package-summary.html">Package</a></li>
  387. <li class="navBarCell1Rev">Class</li>
  388. <li><a href="package-tree.html">Tree</a></li>
  389. <li><a href="../../../index-all.html">Index</a></li>
  390. <li><a href="../../../help-doc.html">Help</a></li>
  391. </ul>
  392. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  393. </div>
  394. <div class="subNav">
  395. <ul class="navList">
  396. <li><a href="../../../org/opencv/core/MatOfRect.html" title="class in org.opencv.core"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  397. <li><a href="../../../org/opencv/core/Point3.html" title="class in org.opencv.core"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  398. </ul>
  399. <ul class="navList">
  400. <li><a href="../../../index.html?org/opencv/core/Point.html" target="_top">Frames</a></li>
  401. <li><a href="Point.html" target="_top">No&nbsp;Frames</a></li>
  402. </ul>
  403. <ul class="navList" id="allclasses_navbar_bottom">
  404. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  405. </ul>
  406. <div>
  407. <script type="text/javascript"><!--
  408. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  409. if(window==top) {
  410. allClassesLink.style.display = "block";
  411. }
  412. else {
  413. allClassesLink.style.display = "none";
  414. }
  415. //-->
  416. </script>
  417. </div>
  418. <div>
  419. <ul class="subNavList">
  420. <li>Summary:&nbsp;</li>
  421. <li>Nested&nbsp;|&nbsp;</li>
  422. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  423. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  424. <li><a href="#method.summary">Method</a></li>
  425. </ul>
  426. <ul class="subNavList">
  427. <li>Detail:&nbsp;</li>
  428. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  429. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  430. <li><a href="#method.detail">Method</a></li>
  431. </ul>
  432. </div>
  433. <a name="skip.navbar.bottom">
  434. <!-- -->
  435. </a></div>
  436. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  437. </body>
  438. </html>