from my lecture notes for the course Geo1004 (2015), 3D modelling of the built environment, at TU Delft, faculty of Architecture and the Built Environment
Preliminaries of Analytic Geometry and Linear Algebra 3D modelling
1. 1Challenge the future
Preliminaries
Basic Vector Mathematics for 3D Modeling
Ir. Pirouz Nourian
PhD candidate & Instructor, chair of Design Informatics, since 2010
MSc in Architecture 2009
BSc in Control Engineering 2005
MSc Geomatics, GEO1004, Directed by Dr. Sisi Zlatanova
2. 2Challenge the future
INVISIBLE DIRECTIONS
Vector Mathematics in a Nutshell
René Descartes
Image courtesy of David Rutten,
from Rhinoscript 101
7. 7Challenge the future
Cross Product: physical intuition…
•
Image courtesy of
http://hyperphysics.phy-astr.gsu.edu
Images courtesy of
Raja Issa, Essential Mathematics for Computational Design
E.g. How to detect parallelism?
8. 8Challenge the future
Cross Product: How is it calculated in analytic geometry?
Images courtesy of
Raja Issa, Essential Mathematics for Computational Design
𝒊 × 𝒊 = 𝒋 × 𝒋 = 𝒌 × 𝒌 = 𝟎
𝒊 × 𝒋 = 𝒌
𝒋 × 𝒌 = 𝒊
𝒌 × 𝒊 = 𝒋
𝒋 × 𝒊 = −𝒌
𝒌 × 𝒋 = −𝒊
𝒊 × 𝒌 = −𝒋
10. 10Challenge the future
INVISIBLE ORIENTATIONS
Place things on planes!
Planes in a Nutshell!
Images courtesy of David Rutten, Rhino Script 101
11. 11Challenge the future
Matrix Operations [Linear Algebra]:
Look these up:
• Trivial Facts
• Identity Matrix
• Multiplication of Matrices 𝐴𝐵 ≠ 𝐵𝐴
• Transposed Matrix (𝐴 𝑇
)
𝑇
= 𝐴
• Systems of Linear Equations
• Determinant
• Inverse Matrix
• PCA: Eigenvalues & Eigenvectors
Use MetaNumerics.DLL
𝐴𝐵𝑖,𝑗 𝑅×𝐶
= 𝐴 𝑖,𝑘 × 𝐵 𝑘,𝑗
𝑚
𝑘=1
𝐴 𝑅×𝑀 ∗ 𝐵 𝑀×𝐶 = 𝐴𝐵𝑖,𝑗 𝑅×𝐶
12. 12Challenge the future
TRANSFORMATIONS
• Linear Transformations: Euclidean and Affine
• Homogenous Coordinate System
• Inverse Transforms?
• Non-Linear Transformations?
Images courtesy of Raja Issa, Essential Mathematics for Computational Design
𝐿𝑖𝑛𝑒𝑎𝑟 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚𝑎𝑡𝑖𝑜𝑛𝑠 by Matrices
13. 13Challenge the future
TOPOLOGY in GH: Use matrices to represent graphs
Connectivity, Adjacency and Graphs in GH
We will see more about topology in solids and meshes!