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

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.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Jun 01, 2013
Accession Number
ADA588750

Entities

People

  • Robert J. Yager

Organizations

  • United States Army Research Laboratory

Tags

Communities of Interest

  • Weapons Technologies

DTIC Thesaurus Topics

  • Cartesian Coordinates
  • Computer Programming
  • Displacement
  • Equations
  • Language
  • Military Research
  • Orbits
  • Programming Languages
  • Rotation
  • Three Dimensional
  • Translations
  • Two Dimensional

Readers

  • Computer Science.
  • Graph Algorithms and Convex Optimization.