This also defines point-vector addition: given a point Q and a vector v there is a unique point P such that
Summing a point and a vector times a scalar defines a line in affine space:
is defined to be the point
. The point Q divides the segment connecting the two original points in a ratio proportional to the two coefficients.
As long as the coefficients still sum to 1, this can be generalized to an arbitrary number of points:
that satisfies three properties.
Symmetry: | |
Bi-linearity: | |
Positive definiteness: |
Euclidean spaces have some other useful concepts:
length of a vector | |
distance between two points | |
angle between two vectors | |
perpendicular vectors | |
parallel vectors |
is called a frame for the space. The frame is called Cartesian if the basis vectors are orthonormal (of unit length and mutually pairwise perpendicular). Given a frame, any point P can be written uniquely with respect to that frame as
where the p_i are real coefficients. Similarly, any vector u can be written uniquely as
The last two equations can be rewritten in matrix form to make the similarities clearer:
This leads to the concept of barycentric coordinates.
Previous: Clipping |
Up: Geometric Transformation Index |
Next: Affine Transformations |