A. You are given two arbitrary triangles t1, t2 with vertices P1, P2. B. You are given the function.

A. You are given two arbitrary triangles t1, t2 with
vertices P1, P2.

Don't use plagiarized sources. Get Your Custom Essay on
A. You are given two arbitrary triangles t1, t2 with vertices P1, P2. B. You are given the function.
Just from $13/Page
Order Essay

B. You are given the function
SegmentTriangleIntersection.m

from the MATLAB folder to this section.

C. Design your own MATLAB function that accepts initial
triangle geometry

and finds the intersection points (two or none) and the
intersection triangle

edge (one or none) as shown in Figure 2.25. Present the
text of the function.

D. Apply the script and plot the corresponding
intersection figure.

E. Modify the above script to determine the intersection
of two tetrahedra

and present the corresponding figure.