Contents

Spatial

Create and manipulate 3D mathematical primitives.

Overview

The Spatial module is a lightweight 3D mathematical library that provides a simple API for working with 3D primitives. Much of its functionality is similar to the 2D geometry support in Core Graphics, but in three dimensions.

Topics

Data structures

2D primitives

3D primitives

Affine and projective transforms

Converting between coordinate spaces

Applying trigonometric functions

Protocols

Macros

Structures

Enumerations