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

  Which support of bluetooth technology and devices

IPv6 has been hailed as the next generation of the Internet, has an adoption and deployment of IPv6 been quickly as expected? What are several issues and what is the latest.

  Perform the test for the non-additive join property

Perform the test for the non-additive join property (lossless join) for the relation R.

  What do you recommend that the application include to ensure

Recently, there has been a push to admit more international students into the university. What do you recommend that the application include to ensure that it supports this global requirement?

  Discuss the business impact analysis process

What different loss criteria types can be associated with threats identified during the Business Impact Analysis process

  Design a class that represents a star

Design a class that represents a star with a specified radius and color. Use a filled polygon to draw the star. Design and implement a program that draws.

  Ehy the focus of the os is all over the place

Functionally, we'll definitely find that Unix or Linux will be the best choice for a web server as it doesn't require all of the "extras" for the graphics. What problems can we have if the focus of the OS is all over the place?

  What legal arguments could be raised by sudson

What legal arguments could be raised by Sudson in support of the enforcement of the automatic renewal clause against Letisha and what ethical issues are raised, if any, by Sudson s practice of using the automatic renewal clause in their lease agr..

  Define the term double-integer

Give an example of how a math function is used in a PLC program.

  Compute the entropy and clarity of each cluster

Compute the entropy and clarity of each cluster

  What elements did the new world view possess

What elements did the new world view possess that were to enable it to last until the "Idea of Progress" in the eighteenth century. Is it still part of who we still think we are today Does it still define our place in the cosmos

  How this approach is different from traditional campaigns

Put yourself in the role of a traditional media firm that is seeing its market decline. Describe how this approach is different from traditional campaigns.

  Design a holistic physical security plan

Design a holistic physical security plan. Understand kerberors and Kerberos-trusted key distribution center KDC. Plan for single-sign on access control.

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