There are many ways to define it. For example we can select the origin of the reference
frame to be p1. The x-axis will be in the direction of a vector
p2-p1. The y-axis is on the triangle plane orthogonal to x-axis in the
counterclockwise direction and the z-axis is orthogonal to the triangle plane,
its direction defined by right hand rule. Since we are dealing with rigid objects,
we can pick a unit length vectors (see figure [13.9]).
Suppose
ex,ey,ez are the relevant unit vectors, than each
point v in the 3D space can be represented in the above reference frame as
.
The lengths of the triangle sides are translation/rotation invariant,
and therefore define a valid shape signature of the reference frame.