Skip to content

compas-teaching/geometry-and-data-structures-GeneKao

Repository files navigation

Assignment

submitted by Gene Ting-Chun Kao (kao@arch.ethz.ch)

Geometry

  • Given two vectors, use the cross product to create a set of three orthonormal vectors.

  • Use the cross product to compute the area of a convex, 2D polygon.

  • Define a function for computing the cross products of two arrays of vectors.

    1. The input arrays have the same length (same number of vectors).
    2. Prototype in pure Python (loop over the arrays).
    3. Make Numpy equivalent without loops.

Data structures

  • Using faces.obj

    1. Define a function for traversing the mesh from boundary to boundary in a "straight" line.
    2. Visualise the result.
    • solution file task4.py

    • result visualisation

      img

About

geometry-and-data-structures-GeneKao created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages