Design: 06.02.01/P01
This is an abstract, language-independent design. Grim
details may be found in the
corresponding source code.
You may return to the
documentation
for the module containing this program design, or to the
entire hierarchical table of
topics covered by the PVT.
PROGRAM 1: Behavior of orientation utilities
CHARACTERISTICS: nnnn
OPERATOR SCRIPT: passive test.
DESIGN:
TEST: #SR 1 2 3 4
"<Evaluate view orientation matrix 3> should return a
correct representation for the transformation to change 3D
WC coordinates to 3D VRC coordinates."
Set 3D orientation parameters (all WC x-y-z):
VRP (view reference point) : -3.24, 37.727, 11.2
VPN (view plane normal) : 62.21, 45.67, -25.98
VUP (view up vector) : -23.32, 6.868, -2.22
<Evaluate view orientation matrix 3> returns act4x4 = actual array
Compute exp4x4 = expected array
pass/fail depending on (act4x4 represents same transformation as exp4x4)
TEST: #SR 1 2 5 6
"<Evaluate view orientation matrix> should return a correct
representation for the transformation to change 2D WC
coordinates to 2D VRC coordinates."
Set 2D orientation parameters (all WC x-y):
VRP (view reference point) : -3.24, 37.727
VUP (view up vector) : -23.32, 0.041
<Evaluate view orientation matrix> returns act3x3 = actual array
Compute exp3x3 = expected array
pass/fail depending on (act3x3 represents same transformation as exp3x3)
END PROGRAM 1