Accession Number:

ADA588750

Title:

Two-Dimensional Translations, Rotations, and Intersections Using C++

Descriptive Note:

Final rept. 20 Mar 2013

Corporate Author:

ARMY RESEARCH LAB ABERDEEN PROVING GROUND MD WEAPONS AND MATERIALS RESEARCH DIRECTORATE

Personal Author(s):

Report Date:

2013-06-01

Pagination or Media Count:

20.0

Abstract:

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.

Subject Categories:

  • Computer Programming and Software

Distribution Statement:

APPROVED FOR PUBLIC RELEASE