10.014 CTD
  • Overview
  • Schedule
  • Administrative
    • Accessing Rhino remotely
    • Rhino for Mac
  • ASSIGNMENTS
    • Dates and rubrics
    • Generative design
      • Generative design
    • Parametric design
      • Parametric design
    • Simulated design
      • Simulated design
      • Simulated design
  • SESSION 1B
    • Computer Aided Design
    • Ranges and expressions 1
      • Ranges and expressions 2
      • Ranges and expressions 3
      • Ranges and expressions 4
      • Ranges and expressions 5
      • Ranges and expressions 6
  • SESSION 2A
    • Visual programming 1
      • Visual programming 2
      • Visual programming 3
      • Visual programming 4
    • Associative modelling 1
      • Associative modelling 2
      • Associative modelling 3
  • SESSION 2B
    • Logical Patterns 1
      • Logical patterns 2
      • Logical patterns 3
  • SESSION 3A
    • Spatial geometry 1
      • Spatial geometry 2
      • Spatial geometry 3
      • Spatial geometry 4
      • Spatial geometry 5
      • Spatial geometry 6
      • Spatial geometry 7
    • Curve geometry 1
      • Curve geometry 2
      • Curve geometry 3
      • Curve geometry 4
  • SESSION 3B
    • Surface geometry
    • Parametric modelling 1
      • Parametric modelling 2
      • Parametric modelling 3
      • Parametric modelling 4
  • SESSION 4A
    • Information nesting 1
      • Information nesting 2
      • Information nesting 3
    • Data landscapes 1
      • Data landscapes 2
      • Data Landscapes 3
      • Data landscapes 4
  • SESSION 4B
    • Mesh geometry 1
      • Mesh geometry 2
      • Mesh geometry 3
  • SESSION 5A
    • Space and time 1
      • Space and time 2
    • Modelling entities 1
      • Modelling entities 2
      • Modelling entities 3
  • SESSION 5B
    • Multibody dynamics 1
      • Multibody dynamics 2
    • Material elasticity 1
      • Material elasticity 2
      • Material elasticity 3
  • SESSION 6A
    • Form-finding 1
      • Form-finding 2
      • Form-finding 3
      • Form-finding 4
  • SESSION 6B
    • AI Image generation 1
      • AI Image generation 2
      • AI Image generation 3
  • APPENDIX
    • Spirograph 1
      • Spirograph 2
    • Curves
    • Swarm Intelligence 1
      • Swarm Intelligence 2
    • Hybrid programming 1
      • Hybrid programming 2
Powered by GitBook
On this page
  • Mapping
  • Conclusions
  1. SESSION 3A
  2. Spatial geometry 1

Spatial geometry 7

Mapping

The last topic covered here is the concept of mapping between “local” and “world” coordinates. This is the foundation of all linear rigid transformations. Let’s build this step by step from 1D to 2D and finally 3D.

Local to World

We expressed a point “P” on a line using P=O+u^∗tP = O + \hat{u} * tP=O+u^∗t where [O,u^][O, \hat{u}][O,u^] are the origin and unit direction vector. The same concept in 2D expresses points on a plane using P=O+u^∗s+v^∗tP = O + \hat{u}*s + \hat{v}*tP=O+u^∗s+v^∗t , where [o,u^,v^][o, \hat{u},\hat{v}][o,u^,v^] are the plane’s origin and basis vectors. In 3D we used P=O+u^∗r+v^∗s+n^∗tP = O + \hat{u}*r+ \hat{v}*s + \hat{n}*tP=O+u^∗r+v^∗s+n^∗t, where [o,u^,v^,n^][o, \hat{u},\hat{v},\hat{n}][o,u^,v^,n^] are the coordinate system’s origin and basis vectors.

We can think of the “r”, “s” and “t” values as “local” or “dependent” coordinates with respect to the underlying support geometry. The point expressions for “p” map local coordinates into space in the sense of the “world” coordinate system: [t]→[x,y,z][ t ] → [ x, y, z] [t]→[x,y,z] in 1D, [s,t]→[x,y,z][ s,t ] → [ x, y, z] [s,t]→[x,y,z] in 2D and [r,s,t]→[x,y,z][ r,s,t ] → [ x, y, z] [r,s,t]→[x,y,z].

World to Local

We used projections i.e. dot products, to recover the “t” value of a point “P” along a line t=(P−O)⋅u^t = (P - O)· ût=(P−O)⋅u^. In the same sense, as long as the basis vectors are orthogonal and unit length we can use the same expression to recover the “r”, “s”, and “t” values for the plane and coordinate system cases, using the appropriate basis vectors.

We thus developed the tools to map from the “world” space to “local” coordinates using the inverse mapping: [x,y,z]→[t][ x, y, z ] → [ t ][x,y,z]→[t] in 1D, [x,y,z]→[s,t][ x, y, z ] → [s, t ][x,y,z]→[s,t] in 2D and [x,y,z]→[r,s,t][ x, y, z ] → [ r,s,t ][x,y,z]→[r,s,t] in 3D, and the relevant support geometries.

Transformations

This indirection allow us for the same “local” coordinates to replace their supporting geometries easily e.g. keep [r,s,t][r,s,t] [r,s,t] but replace [o,u^,v^,n^][ o, û, v̂, n̂ ][o,u^,v^,n^] with [O,X,Y,Z][O, X, Y, Z][O,X,Y,Z]. We just have transformed from one frame of reference to another but retained the same geometric content. In addition, because linear maps do not affect lengths and angles we also call them rigid transforms.

Conclusions

We conclude here after having reviewed the arithmetic of points and vectors; topics generally already covered prior to university education in both math and physics. We focused here on a geometric interpretation of algebraic concepts to build intuition and familiarity with the mechanics. You may practice on constructive geometry using the problems within in section. Additional problems are also available [>].

You will be formally introduced to general linear algebra in the future terms by math and sciences courses. The concepts presented here will be generalized to even higher dimensions. We hope the spatial interpretations developed here will be helpful in the following terms as the scope and depth of understanding is expanded.

PreviousSpatial geometry 6NextCurve geometry 1

Last updated 8 months ago