Question: Write a java program that achieves the rotation of a unit cube about an arbitrary fixed point ( page 7 9 - first special case
Write a java program that achieves the rotation of a unit cube about an arbitrary fixed point page first special case of D rotation Produce only text output for this program similar to RotaDTest demo program shown in class Output should display the desired angle of rotation, principle axis of rotation, and the arbitrary point used for rotating the unit cube. Output should also display the vertices of the unit cube along with their coordinate values before and after the D rotation. The program should take commandline arguments for the three customizable parameters arbitrary point A a a a desired angle of rotation alpha, and the principle axis of rotation xaxis, yaxis, or zaxis In other words, after compiling your program, you may run it by typing the following as an example: java RotaDCube yaxis where a a a alpha degrees, and yaxis is the principle axis of rotation. Note: The initial vertices of the cube before rotation should be Name the main java file as RotaDCube.java
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
