Changeset 75674
- Timestamp:
- Nov 26, 2011, 6:58:14 PM (11 years ago)
- Author:
- cppljevans
- Message:
-
Added loop over all possible axis rotations.
Output=
===>Enter:{{rot_solve
:axis_rot=0
lengths_soln={ 4, 2, 2}
:axis_soln=0:rank=3:rot_lengths=1:axis_inner=2
:istk_unrot=
{ offset= 0
, space=16
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:istk_rot=
{ offset= 0
, space=16
, rotation=1
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
r=
{ { { 7, 14}
, { 21, 28}
}
, { { 6, 12}
, { 18, 24}
}
, { { -4, -8}
, { -12, -16}
}
, { { -15, -30}
, { -45, -60}
}
}
.
:istk_rot(axis_inner@min)=
{ offset= 0
, space= 4
, rotation=1
, luvs={ { lower=0, upper=3, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:r_w=
{ { { 7}
, { 14}
}
, { { 21}
, { 28}
}
}
.
:istk_borders_rot=
{ offset= 0
, space=16
, rotation=1
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:rb_w=
{ { { 7, 6, -4, -15}
, { 14, 12, -8, -30}
}
, { { 21, 18, -12, -45}
, { 28, 24, -16, -60}
}
}
.
*solution*
x=
{ { { 2, 4}
, { 6, 8}
}
, { { 1, 2}
, { 3, 4}
}
, { { 0, 0}
, { 0, 0}
}
, { { -3, -6}
, { -9, -12}
}
}
.
x_w=
{ { { 2, 1, 0, -3}
, { 4, 2, 0, -6}
}
, { { 6, 3, 0, -9}
, { 8, 4, 0, -12}
}
}
.
===>Exit:}}rot_solve
===>Enter:{{rot_solve
:axis_rot=1
lengths_soln={ 2, 4, 2}
:axis_soln=1:rank=3:rot_lengths=2:axis_inner=2
:istk_unrot=
{ offset= 0
, space=16
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:istk_rot=
{ offset= 0
, space=16
, rotation=2
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
r=
{ { { 7, 21}
, { 6, 18}
, { -4, -12}
, { -15, -45}
}
, { { 14, 28}
, { 12, 24}
, { -8, -16}
, { -30, -60}
}
}
.
:istk_rot(axis_inner@min)=
{ offset= 0
, space= 4
, rotation=2
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=3, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:r_w=
{ { { 7}
, { 14}
}
, { { 21}
, { 28}
}
}
.
:istk_borders_rot=
{ offset= 0
, space=16
, rotation=2
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:rb_w=
{ { { 7, 6, -4, -15}
, { 14, 12, -8, -30}
}
, { { 21, 18, -12, -45}
, { 28, 24, -16, -60}
}
}
.
*solution*
x=
{ { { 2, 6}
, { 1, 3}
, { 0, 0}
, { -3, -9}
}
, { { 4, 8}
, { 2, 4}
, { 0, 0}
, { -6, -12}
}
}
.
x_w=
{ { { 2, 1, 0, -3}
, { 4, 2, 0, -6}
}
, { { 6, 3, 0, -9}
, { 8, 4, 0, -12}
}
}
.
===>Exit:}}rot_solve
===>Enter:{{rot_solve
:axis_rot=2
lengths_soln={ 2, 2, 4}
:axis_soln=2:rank=3:rot_lengths=0:axis_inner=2
:istk_unrot=
{ offset= 0
, space=16
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:istk_rot=
{ offset= 0
, space=16
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
r=
{ { { 7, 6, -4, -15}
, { 14, 12, -8, -30}
}
, { { 21, 18, -12, -45}
, { 28, 24, -16, -60}
}
}
.
:istk_rot(axis_inner@min)=
{ offset= 0
, space= 4
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=3, value=0}}
, rotated indices={ 0, 0, 0}
}
:r_w=
{ { { 7}
, { 14}
}
, { { 21}
, { 28}
}
}
.
:istk_borders_rot=
{ offset= 0
, space=16
, rotation=0
, luvs={ { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}, { lower=0, upper=0, value=0}}
, rotated indices={ 0, 0, 0}
}
:rb_w=
{ { { 7, 6, -4, -15}
, { 14, 12, -8, -30}
}
, { { 21, 18, -12, -45}
, { 28, 24, -16, -60}
}
}
.
*solution*
x=
{ { { 2, 1, 0, -3}
, { 4, 2, 0, -6}
}
, { { 6, 3, 0, -9}
, { 8, 4, 0, -12}
}
}
.
x_w=
{ { { 2, 1, 0, -3}
, { 4, 2, 0, -6}
}
, { { 6, 3, 0, -9}
, { 8, 4, 0, -12}
}
}
.
===>Exit:}}rot_solve
- (No files)
-