submitted by Gene Ting-Chun Kao (kao@arch.ethz.ch)
-
Given two vectors, use the cross product to create a set of three orthonormal vectors.
- solution file task1.py
-
Use the cross product to compute the area of a convex, 2D polygon.
- solution file task2.py
-
Define a function for computing the cross products of two arrays of vectors.
- The input arrays have the same length (same number of vectors).
- Prototype in pure Python (loop over the arrays).
- Make Numpy equivalent without loops.
- solution file task3.py
-
Using
faces.obj
- Define a function for traversing the mesh from boundary to boundary in a "straight" line.
- Visualise the result.
-
solution file task4.py
-
result visualisation