Maintainer | byorgey@cis.upenn.edu |
---|---|

Safe Haskell | None |

A type for *points* (as distinct from vectors), with an appropriate
AffineSpace instance.

# Points

`Point`

is a newtype wrapper around vectors used to represent
points, so we don't get them mixed up. The distinction between
vectors and points is important: translations affect points, but
leave vectors unchanged. Points are instances of the
`AffineSpace`

class from Data.AffineSpace.

P v |

origin :: AdditiveGroup v => Point vSource

The origin of the vector space `v`

.