Skip to content

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

Repository files navigation

Assignment

Geometry

  1. Given two vectors, use the cross product to create a set of three orthonormal vectors.
  2. Use the cross product to compute the area of a convex, 2D polygon.
  3. 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

  1. Using faces.obj
    1. Define a function for traversing the mesh from boundary to boundary in a "straight" line.
    2. Visualise the result.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages