Homogeneous coordinates
If we consider we don't know whether it represents a point or a vector. Homogenous coordinates have one more dimension for that:
- when A is a vector:
- when A is a point:
Adding two vectors will be a vector, subtracting two points will return a vector.