Skip to main content

Homogeneous coordinates

If we consider A=(1,2,3)A=(1,2,3) we don't know whether it represents a point or a vector. Homogenous coordinates have one more dimension ww for that:

  • w=0w=0 when A is a vector: A=(1,2,3,0)A=(1, 2, 3, 0)
  • w=1w=1 when A is a point: A=(1,2,3,1)A=(1,2,3,1)

Adding two vectors will be a vector, subtracting two points will return a vector.