Write a java program that achieves the rotation

Assignment Help Computer Engineering
Reference no: EM133423877

Question: Write a java program that achieves the rotation of a unit cube about an arbitrary fixed point (page 79 - first special case of 3D rotation). Produce only text output for this program. 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 co-ordinate values before and after the 3D rotation. The program should take 5 command-line arguments for the three customizable parameters - arbitrary point A (a1, a2, a3), desired angle of rotation alpha, and the principle axis of rotation (x_axis, y_axis, or z_axis).

In other words, after compiling your program, you may run it by typing the following as an example: java Rota3DCube 2 2 2 45 y_axis where a1 = 2, a2 = 2, a3 = 2, alpha = 45 degrees, and y_axis is the principle axis of rotation.

Reference no: EM133423877

Questions Cloud

How did the media portray the police : Discussed on page 46 did the incident contain? Explain. How did the media portray the police? Was it a fair portrayal or was the media biased? Explain.
What other skills are important in building working : Is conflict resolution the most important skill that leaders need? Why or why not? What other skills are important in building working relationships?
What is the correct measure of the damages : difference between the value of the performance contracted for and the value of the performance actually rendered. What is the correct measure of the damages?
How could evidence be obtained to validate : How could evidence be obtained to validate the need for such controls, as distinct from just relying on 'best practice
Write a java program that achieves the rotation : Write a java program that achieves the rotation of a unit cube about an arbitrary fixed point (page 79 - first special case of 3D rotation)
How does private international law facilitate international : How does private international law facilitate international trade? Consider in your answer the agreements and entities which govern private international law
What are the major problems while using agile development : What are the major problems (or side-effects) while using Agile Development Methodology (for example Scrum and XP)? Include an example for each problem
What features are included in simulations and games have : What features are included in simulations and games have to help students improve their performance?
Do you feel safer when there is an increased police presence : The fluctuation of law enforcement presence during the course of the experiment did not greatly impact the citizen's fear of crime. Do you feel safer

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd