aboutsummaryrefslogtreecommitdiffstats
path: root/dev/MinGfx/docs/html/classmingfx_1_1_point3.html
blob: 2166d0e5e87f3c96ed743ea1709b2fe17f8e8173 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<title>MinGfx Toolkit: mingfx::Point3 Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">MinGfx Toolkit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A minimal library for writing cross-platform (Windows, OSX, linux) graphics programs.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacemingfx.html">mingfx</a></li><li class="navelem"><a class="el" href="classmingfx_1_1_point3.html">Point3</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classmingfx_1_1_point3-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">mingfx::Point3 Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A 3D Point with floating point coordinates, used for storing vertices and all sorts of other 3D graphics operations. </p>
<p>Point3s can be transformed by a <a class="el" href="classmingfx_1_1_matrix4.html" title="A 4x4 transformation matrix stored internally as an array of floats in column-major order so as to be...">Matrix4</a>. Example: </p><div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a(0,0,1);</div>
<div class="line">std::cout &lt;&lt; a &lt;&lt; std::endl;</div>
<div class="line"> </div>
<div class="line">Matrix4 M = <a class="code" href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">Matrix4::Translation</a>(Vector3(0,0,-1));</div>
<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> b = M * a;</div>
<div class="line">std::cout &lt;&lt; b &lt;&lt; std::endl;</div>
<div class="line"> </div>
<div class="line"><span class="comment">// you can access the individual components of the point in two ways:</span></div>
<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p(1,2,3);</div>
<div class="line"><span class="keywordtype">float</span> option1 = p.x();</div>
<div class="line"><span class="keywordtype">float</span> option2 = p[0];</div>
<div class="line"> </div>
<div class="line"><span class="comment">// to set an individual component of the point use the [] operator:</span></div>
<div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> p2;</div>
<div class="line">p2[0] = 0.4;</div>
<div class="line">p2[1] = 1.2;</div>
<div class="line">p2[2] = 3.1;</div>
<div class="ttc" id="aclassmingfx_1_1_matrix4_html_ae82bab81df82dc03f5eb11e74ba1dd84"><div class="ttname"><a href="classmingfx_1_1_matrix4.html#ae82bab81df82dc03f5eb11e74ba1dd84">mingfx::Matrix4::Translation</a></div><div class="ttdeci">static Matrix4 Translation(const Vector3 &amp;v)</div><div class="ttdoc">Returns the translation matrix described by the vector.</div></div>
<div class="ttc" id="aclassmingfx_1_1_point3_html_ae8ab322852c24c6e03bed03cac443664"><div class="ttname"><a href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">mingfx::Point3::Point3</a></div><div class="ttdeci">Point3()</div><div class="ttdoc">Default point at the origin.</div></div>
</div><!-- fragment --> 
<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00052">52</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>
</div>
<p><code>#include &lt;<a class="el" href="point3_8h_source.html">point3.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae8ab322852c24c6e03bed03cac443664"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> ()</td></tr>
<tr class="memdesc:ae8ab322852c24c6e03bed03cac443664"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default point at the origin.  <a href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">More...</a><br /></td></tr>
<tr class="separator:ae8ab322852c24c6e03bed03cac443664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29d113f0fa37fa04a642817c680fe953"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">Point3</a> (float <a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a>, float <a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a>, float <a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a>)</td></tr>
<tr class="memdesc:a29d113f0fa37fa04a642817c680fe953"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics.  <a href="classmingfx_1_1_point3.html#a29d113f0fa37fa04a642817c680fe953">More...</a><br /></td></tr>
<tr class="separator:a29d113f0fa37fa04a642817c680fe953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a062caf579ef643b25129cc35b3dbe756"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">Point3</a> (float *p)</td></tr>
<tr class="memdesc:a062caf579ef643b25129cc35b3dbe756"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a point given a pointer to x,y,z data.  <a href="classmingfx_1_1_point3.html#a062caf579ef643b25129cc35b3dbe756">More...</a><br /></td></tr>
<tr class="separator:a062caf579ef643b25129cc35b3dbe756"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23534a1ce3d4466c303b9205bd21cd97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">Point3</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;p)</td></tr>
<tr class="memdesc:a23534a1ce3d4466c303b9205bd21cd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor for point.  <a href="classmingfx_1_1_point3.html#a23534a1ce3d4466c303b9205bd21cd97">More...</a><br /></td></tr>
<tr class="separator:a23534a1ce3d4466c303b9205bd21cd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">~Point3</a> ()</td></tr>
<tr class="memdesc:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Point destructor.  <a href="classmingfx_1_1_point3.html#aa55aef76986cc7424c2a535d6fd1ab7a">More...</a><br /></td></tr>
<tr class="separator:aa55aef76986cc7424c2a535d6fd1ab7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab22d5cc4631f26274ada550c90d39699"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">operator==</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;p) const</td></tr>
<tr class="memdesc:ab22d5cc4631f26274ada550c90d39699"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "equality", taking floating point imprecision into account.  <a href="classmingfx_1_1_point3.html#ab22d5cc4631f26274ada550c90d39699">More...</a><br /></td></tr>
<tr class="separator:ab22d5cc4631f26274ada550c90d39699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acccf9d3fca27174c18ada3b33209c71e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">operator!=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;p) const</td></tr>
<tr class="memdesc:acccf9d3fca27174c18ada3b33209c71e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check for "inequality", taking floating point imprecision into account.  <a href="classmingfx_1_1_point3.html#acccf9d3fca27174c18ada3b33209c71e">More...</a><br /></td></tr>
<tr class="separator:acccf9d3fca27174c18ada3b33209c71e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">operator=</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;p)</td></tr>
<tr class="memdesc:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="classmingfx_1_1_point3.html#a8e54b18bfaa39f4b7048b85c9ca43c3d">More...</a><br /></td></tr>
<tr class="separator:a8e54b18bfaa39f4b7048b85c9ca43c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">operator[]</a> (const int i) const</td></tr>
<tr class="memdesc:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the ith coordinate of the point.  <a href="classmingfx_1_1_point3.html#a3a586db5b58d5f1fdaddb1e33e84d566">More...</a><br /></td></tr>
<tr class="separator:a3a586db5b58d5f1fdaddb1e33e84d566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a790468d68b6d957b22959f9078f85c3e"><td class="memItemLeft" align="right" valign="top">float &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">operator[]</a> (const int i)</td></tr>
<tr class="memdesc:a790468d68b6d957b22959f9078f85c3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example:  <a href="classmingfx_1_1_point3.html#a790468d68b6d957b22959f9078f85c3e">More...</a><br /></td></tr>
<tr class="separator:a790468d68b6d957b22959f9078f85c3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac409e3213620b80c868245c1f6a6eea5"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">x</a> () const</td></tr>
<tr class="memdesc:ac409e3213620b80c868245c1f6a6eea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value.  <a href="classmingfx_1_1_point3.html#ac409e3213620b80c868245c1f6a6eea5">More...</a><br /></td></tr>
<tr class="separator:ac409e3213620b80c868245c1f6a6eea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0757315cd84f91879021d7afe18e0545"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">y</a> () const</td></tr>
<tr class="memdesc:a0757315cd84f91879021d7afe18e0545"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value.  <a href="classmingfx_1_1_point3.html#a0757315cd84f91879021d7afe18e0545">More...</a><br /></td></tr>
<tr class="separator:a0757315cd84f91879021d7afe18e0545"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">z</a> () const</td></tr>
<tr class="memdesc:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value.  <a href="classmingfx_1_1_point3.html#ac463e3a3ec3edd02c86505ea6400d8e6">More...</a><br /></td></tr>
<tr class="separator:ac463e3a3ec3edd02c86505ea6400d8e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">w</a> () const</td></tr>
<tr class="memdesc:abbf85b5749b37869f4c1b98443ebbd9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">In homogeneous coordinates, the w coordinate for all points is 1.0.  <a href="classmingfx_1_1_point3.html#abbf85b5749b37869f4c1b98443ebbd9e">More...</a><br /></td></tr>
<tr class="separator:abbf85b5749b37869f4c1b98443ebbd9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memItemLeft" align="right" valign="top">const float *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">value_ptr</a> () const</td></tr>
<tr class="memdesc:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a const pointer to the raw data array.  <a href="classmingfx_1_1_point3.html#af0557bdc07452cf335e2b7e04fc0aa3c">More...</a><br /></td></tr>
<tr class="separator:af0557bdc07452cf335e2b7e04fc0aa3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;b, float alpha) const</td></tr>
<tr class="memdesc:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two.  <a href="classmingfx_1_1_point3.html#a228a1f3754b8ee82b9bb148ce183fc5b">More...</a><br /></td></tr>
<tr class="separator:a228a1f3754b8ee82b9bb148ce183fc5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af554773b2d7f4492a0727e8e42efe002"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">DistanceToPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;plane_normal)</td></tr>
<tr class="memdesc:af554773b2d7f4492a0727e8e42efe002"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal.  <a href="classmingfx_1_1_point3.html#af554773b2d7f4492a0727e8e42efe002">More...</a><br /></td></tr>
<tr class="separator:af554773b2d7f4492a0727e8e42efe002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">ClosestPointOnPlane</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;plane_origin, const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;plane_normal)</td></tr>
<tr class="memdesc:ae31d5f91a03fabdf72b2fa54e177b743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the perpendicular projection of this point onto a plane defined by a point and a normal.  <a href="classmingfx_1_1_point3.html#ae31d5f91a03fabdf72b2fa54e177b743">More...</a><br /></td></tr>
<tr class="separator:ae31d5f91a03fabdf72b2fa54e177b743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">ClosestPoint</a> (const std::vector&lt; <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &gt; &amp;point_list)</td></tr>
<tr class="memdesc:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a list of points, returns the closest in the last to the current point.  <a href="classmingfx_1_1_point3.html#a9dd5396f53b7006ec4cb63abffd90a7c">More...</a><br /></td></tr>
<tr class="separator:a9dd5396f53b7006ec4cb63abffd90a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:aecb7c3137356cd4470851c54a47c7930"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">Origin</a> ()</td></tr>
<tr class="memdesc:aecb7c3137356cd4470851c54a47c7930"><td class="mdescLeft">&#160;</td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed  <a href="classmingfx_1_1_point3.html#aecb7c3137356cd4470851c54a47c7930">More...</a><br /></td></tr>
<tr class="separator:aecb7c3137356cd4470851c54a47c7930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9983b62979f9ac5a11efea08d9d283ed"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">Zero</a> ()</td></tr>
<tr class="memdesc:a9983b62979f9ac5a11efea08d9d283ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">(0,0,0) - a shortcut for a special point that is frequently needed  <a href="classmingfx_1_1_point3.html#a9983b62979f9ac5a11efea08d9d283ed">More...</a><br /></td></tr>
<tr class="separator:a9983b62979f9ac5a11efea08d9d283ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cfcbefe652720779e0d7beff1c86ece"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">One</a> ()</td></tr>
<tr class="memdesc:a2cfcbefe652720779e0d7beff1c86ece"><td class="mdescLeft">&#160;</td><td class="mdescRight">(1,1,1) - a shortcut for a special point that is frequently needed  <a href="classmingfx_1_1_point3.html#a2cfcbefe652720779e0d7beff1c86ece">More...</a><br /></td></tr>
<tr class="separator:a2cfcbefe652720779e0d7beff1c86ece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206691c31872e537eefbf897603dba74"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">Lerp</a> (const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;a, const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;b, float alpha)</td></tr>
<tr class="memdesc:a206691c31872e537eefbf897603dba74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two.  <a href="classmingfx_1_1_point3.html#a206691c31872e537eefbf897603dba74">More...</a><br /></td></tr>
<tr class="separator:a206691c31872e537eefbf897603dba74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae8ab322852c24c6e03bed03cac443664"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8ab322852c24c6e03bed03cac443664">&#9670;&nbsp;</a></span>Point3() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mingfx::Point3::Point3 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default point at the origin. </p>

</div>
</div>
<a id="a29d113f0fa37fa04a642817c680fe953"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29d113f0fa37fa04a642817c680fe953">&#9670;&nbsp;</a></span>Point3() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mingfx::Point3::Point3 </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a point given (x,y,z,1), where the 1 comes from the use of homogeneous coordinates in computer graphics. </p>

</div>
</div>
<a id="a062caf579ef643b25129cc35b3dbe756"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a062caf579ef643b25129cc35b3dbe756">&#9670;&nbsp;</a></span>Point3() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mingfx::Point3::Point3 </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a point given a pointer to x,y,z data. </p>

</div>
</div>
<a id="a23534a1ce3d4466c303b9205bd21cd97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23534a1ce3d4466c303b9205bd21cd97">&#9670;&nbsp;</a></span>Point3() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mingfx::Point3::Point3 </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor for point. </p>

</div>
</div>
<a id="aa55aef76986cc7424c2a535d6fd1ab7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa55aef76986cc7424c2a535d6fd1ab7a">&#9670;&nbsp;</a></span>~Point3()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual mingfx::Point3::~Point3 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Point destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a9dd5396f53b7006ec4cb63abffd90a7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9dd5396f53b7006ec4cb63abffd90a7c">&#9670;&nbsp;</a></span>ClosestPoint()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPoint </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>point_list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Given a list of points, returns the closest in the last to the current point. </p>

</div>
</div>
<a id="ae31d5f91a03fabdf72b2fa54e177b743"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae31d5f91a03fabdf72b2fa54e177b743">&#9670;&nbsp;</a></span>ClosestPointOnPlane()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::ClosestPointOnPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>plane_origin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>plane_normal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the perpendicular projection of this point onto a plane defined by a point and a normal. </p>

</div>
</div>
<a id="af554773b2d7f4492a0727e8e42efe002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af554773b2d7f4492a0727e8e42efe002">&#9670;&nbsp;</a></span>DistanceToPlane()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::DistanceToPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>plane_origin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_vector3.html">Vector3</a> &amp;&#160;</td>
          <td class="paramname"><em>plane_normal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the shortest (i.e., perpendicular) distance from this point to a plane defined by a point and a normal. </p>

</div>
</div>
<a id="a206691c31872e537eefbf897603dba74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a206691c31872e537eefbf897603dba74">&#9670;&nbsp;</a></span>Lerp() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Linear interpolation between two points. Alpha=0.0 returns 'a' and alpha=1.0 returns 'b', other values blend between the two. </p>

</div>
</div>
<a id="a228a1f3754b8ee82b9bb148ce183fc5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a228a1f3754b8ee82b9bb148ce183fc5b">&#9670;&nbsp;</a></span>Lerp() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a> mingfx::Point3::Lerp </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear interpolation between this point and another. Alpha=0.0 returns this point, and alpha=1.0 returns the other point, other values blend between the two. </p>

</div>
</div>
<a id="a2cfcbefe652720779e0d7beff1c86ece"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2cfcbefe652720779e0d7beff1c86ece">&#9670;&nbsp;</a></span>One()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>&amp; mingfx::Point3::One </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>(1,1,1) - a shortcut for a special point that is frequently needed </p>

</div>
</div>
<a id="acccf9d3fca27174c18ada3b33209c71e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acccf9d3fca27174c18ada3b33209c71e">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mingfx::Point3::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check for "inequality", taking floating point imprecision into account. </p>

</div>
</div>
<a id="a8e54b18bfaa39f4b7048b85c9ca43c3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e54b18bfaa39f4b7048b85c9ca43c3d">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmingfx_1_1_point3.html">Point3</a>&amp; mingfx::Point3::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignment operator. </p>

</div>
</div>
<a id="ab22d5cc4631f26274ada550c90d39699"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab22d5cc4631f26274ada550c90d39699">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mingfx::Point3::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classmingfx_1_1_point3.html">Point3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check for "equality", taking floating point imprecision into account. </p>

</div>
</div>
<a id="a790468d68b6d957b22959f9078f85c3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a790468d68b6d957b22959f9078f85c3e">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float&amp; mingfx::Point3::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a reference to the ith coordinate of the point. Use this accessor if you wish to set the coordinate rather than just request its value. Example: </p>
<div class="fragment"><div class="line"><a class="code" href="classmingfx_1_1_point3.html#ae8ab322852c24c6e03bed03cac443664">Point3</a> a;</div>
<div class="line">a[0] = 5.0; <span class="comment">// set the x-coordinate of the point</span></div>
</div><!-- fragment --> 
</div>
</div>
<a id="a3a586db5b58d5f1fdaddb1e33e84d566"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a586db5b58d5f1fdaddb1e33e84d566">&#9670;&nbsp;</a></span>operator[]() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::operator[] </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read only access to the ith coordinate of the point. </p>

</div>
</div>
<a id="aecb7c3137356cd4470851c54a47c7930"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecb7c3137356cd4470851c54a47c7930">&#9670;&nbsp;</a></span>Origin()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>&amp; mingfx::Point3::Origin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>(0,0,0) - a shortcut for a special point that is frequently needed </p>

</div>
</div>
<a id="af0557bdc07452cf335e2b7e04fc0aa3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0557bdc07452cf335e2b7e04fc0aa3c">&#9670;&nbsp;</a></span>value_ptr()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const float* mingfx::Point3::value_ptr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a const pointer to the raw data array. </p>

</div>
</div>
<a id="abbf85b5749b37869f4c1b98443ebbd9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abbf85b5749b37869f4c1b98443ebbd9e">&#9670;&nbsp;</a></span>w()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::w </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>In homogeneous coordinates, the w coordinate for all points is 1.0. </p>

<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00104">104</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>

</div>
</div>
<a id="ac409e3213620b80c868245c1f6a6eea5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac409e3213620b80c868245c1f6a6eea5">&#9670;&nbsp;</a></span>x()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::x </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read only access to the x coordinate. Can also use my_point[0]. Use the my_point[0] = 1.0; form if you need to set the value. </p>

<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00093">93</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>

</div>
</div>
<a id="a0757315cd84f91879021d7afe18e0545"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0757315cd84f91879021d7afe18e0545">&#9670;&nbsp;</a></span>y()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::y </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read only access to the y coordinate. Can also use my_point[1]. Use the my_point[1] = 1.0; form if you need to set the value. </p>

<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00097">97</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>

</div>
</div>
<a id="ac463e3a3ec3edd02c86505ea6400d8e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac463e3a3ec3edd02c86505ea6400d8e6">&#9670;&nbsp;</a></span>z()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float mingfx::Point3::z </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Read only access to the z coordinate. Can also use my_point[2]. Use the my_point[2] = 1.0; form if you need to set the value. </p>

<p class="definition">Definition at line <a class="el" href="point3_8h_source.html#l00101">101</a> of file <a class="el" href="point3_8h_source.html">point3.h</a>.</p>

</div>
</div>
<a id="a9983b62979f9ac5a11efea08d9d283ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9983b62979f9ac5a11efea08d9d283ed">&#9670;&nbsp;</a></span>Zero()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classmingfx_1_1_point3.html">Point3</a>&amp; mingfx::Point3::Zero </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>(0,0,0) - a shortcut for a special point that is frequently needed </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="point3_8h_source.html">point3.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.9.1-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.9.1
</small></address>
</body>
</html>