ONCS Steps

  • Normalize vector
  • Normalize perpendicular vector
  • 2 normalize: Take magnitude, divide each component by it
  • 2 find perp of 2d vect: <a,b> = <b,-a> (normal perp)

Describe as linear sys of EQ

  • in an oncs given some and (a and b are from ONCS)
  • then
  • Distance:

Rep as linear combo of

  • Take and
  • then can obtain a systems of eq, where ‘s first component
  • solve sys of eq to find for a&b:

IMPT: CONVERT BTWN 3 CORDS SYS

ed

Area of triangle degenerate? amex

  • Take 2 vectors given all points
  • take = area == 0 ? degen : !degen

Construct plane out of 3 pts

  • Make 2 vectors given all points
  • cross product (x,y,z)=1