Find the intersection of a line with a plane: Difference between revisions
Find the intersection of a line with a plane (view source)
Revision as of 09:53, 7 June 2021
, 3 years agono edit summary
(Ada version) |
No edit summary |
||
Line 885:
{{Out}}
<pre>[["name of the object",px],["form of the object",point3d],["coordinates of the point",[0,-5,5]]]</pre>
=={{header|Mathematica}} / {{header|Wolfram Language}}==
<lang Mathematica>RegionIntersection[InfiniteLine[{0, 0, 10}, {0, -1, -1}], InfinitePlane[{0, 0, 5}, {{0, 1, 0}, {1, 0, 0}}]]</lang>
{{out}}
<pre>Point[{0, -5, 5}]</pre>
=={{header|MATLAB}}==
|