Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
Spatial Computations

Introduction

For calculations in three dimensional space, the spat library provides various templated structures. A Position represents a point in space, while a Vector represents a direction. Both are combined to form a VectorBundle , which represents a point and a direction in space. A Frame handles a frame of reference in space and allows transformations of Positions and Vectors between different frames. There are also Matrix classes for more general transformation calculations and geometric shapes like Box or Sphere for spatial queries. Conceptually all these classes have 2D variants as well, e.g. Position2D .