Two-Dimensional Translations, Rotations, and Intersections Using C++
Final rept. 20 Mar 2013
ARMY RESEARCH LAB ABERDEEN PROVING GROUND MD WEAPONS AND MATERIALS RESEARCH DIRECTORATE
Pagination or Media Count:
Two-dimensional 2-D operations, such as rotations, translations, and intersections, are tools that are essential for many types of scientific modeling. However, the C programming language does not natively perform them. This report documents a set of functions, written in C, that can be used to perform 2-D rotations, translations, and intersections. All of the functions have been grouped into the y2DOps namespace, which is summarized at the end of this report. The functions that are presented in this report are special cases of more general three-dimensional 3-D functions.1 Compared to the 3-D functions, the 2-D functions provide simpler interfaces and faster calculations.
- Computer Programming and Software