| Rev | Line | |
|---|
| [1350] | 1 |
|
|---|
| 2 |
|
|---|
| 3 | //////////////////////////////////////////////////////
|
|---|
| 4 | Pt0 : x= 2 y= 0 z= 0
|
|---|
| 5 | Pt1 : x= 1 y= 0 z= 2
|
|---|
| 6 | Pt2 : x= 6.12303e-17 y= 1 z= 2
|
|---|
| 7 | Pt3 : x= 1.22461e-16 y= 2 z= 0
|
|---|
| 8 |
|
|---|
| 9 | Dir1 : x= 1 y= 0 z= -2
|
|---|
| 10 | Dir2 : x= 1 y= 0 z= -2
|
|---|
| 11 |
|
|---|
| 12 | Ax1 : x= -4 y= -4 z= -2
|
|---|
| 13 | Ax2 : x= -4 y= -4 z= -2
|
|---|
| 14 |
|
|---|
| 15 | Porg1 : x= 2 y= 0 z= 0
|
|---|
| 16 | Porg2 : x= 2 y= 0 z= 0
|
|---|
| 17 |
|
|---|
| 18 | coordinate axis 1 : PX= (0.447214,0,-0.894427) PY= (0.596285,-0.745356,0.298142) PZ= (-0.666667,-0.666667,-0.333333)
|
|---|
| 19 | coordinate axis 2 : PX= (0.447214,0,-0.894427) PY= (0.596285,-0.745356,0.298142) PZ= (-0.666667,-0.666667,-0.333333)
|
|---|
| 20 |
|
|---|
| 21 | Plane1 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 22 | Plane2 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 23 |
|
|---|
| 24 | Normal 1
|
|---|
| 25 | Start : x= 2 y= 0 z= 0
|
|---|
| 26 | Dir : x= -0.666667 y= -0.666667 z= -0.333333
|
|---|
| 27 |
|
|---|
| 28 | Normal 2
|
|---|
| 29 | Start : x= 2 y= 0 z= 0
|
|---|
| 30 | Dir : x= -0.666667 y= -0.666667 z= -0.333333
|
|---|
| 31 |
|
|---|
| 32 | Distance 1 =-2.66667
|
|---|
| 33 | Distance 2 =-2.66667
|
|---|
| 34 |
|
|---|
| 35 | //////////////////////////////////////////////////////
|
|---|
| 36 |
|
|---|
| 37 | Plan1 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 38 | Plan2 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 39 | Plan3 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 40 | Plan4 : a= -0.666667 b= -0.666667 c= -0.333333 d= -1.33333
|
|---|
| 41 |
|
|---|
| 42 | Distance 1 =-2.66667
|
|---|
| 43 | Distance 2 =-2.66667
|
|---|
| 44 | Distance 3 =-2.66667
|
|---|
| 45 | Distance 4 =-2.66667
|
|---|
| 46 |
|
|---|
| 47 | //////////////////////////////////////////////////////
|
|---|
| 48 |
|
|---|
| 49 | Pdep of the ray :
|
|---|
| 50 | x=0
|
|---|
| 51 | y=0
|
|---|
| 52 | z=2
|
|---|
| 53 |
|
|---|
| 54 | Direction of the ray :
|
|---|
| 55 | x=0.707107
|
|---|
| 56 | y=0.707107
|
|---|
| 57 | z=0
|
|---|
| 58 |
|
|---|
| 59 | Intersection founded at point :
|
|---|
| 60 | x=0.5
|
|---|
| 61 | y=0.5
|
|---|
| 62 | z=2
|
|---|
| 63 |
|
|---|
| 64 | Plain contain the hit point
|
|---|
| 65 |
|
|---|
| 66 | Squared distance from the Pdep to the hit point :
|
|---|
| 67 | distance=0.5
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.