|
TerraHS.Algebras.Spatial.Points |
|
|
|
|
Description |
Module for handling the points
|
|
Synopsis |
|
|
|
|
The Points class
|
|
class Num a => Points p a | p -> a where |
| Methods | createPoint :: a -> a -> p | Create a point from two coordinates
| | getX :: p -> a | Returns the X componente of the coordinate
| | getY :: p -> a | Returns the Y componente of the coordinate
| | equal :: p -> p -> Bool | Check if the two coordinates are equal
|
| | Instances | |
|
|
Produced by Haddock version 2.3.0 |