terrahs-0.5: Simple library for GIS Programs in Haskell.Source codeContentsIndex
TerraHS.TerraLib.TePoint
Contents
The TePoint type
The TePointPtr type
The TePointSet type
The TePointSetPtr type
Operations on TePoint
Operations on TePointSet
Description

A module for supporting a TePoint TerraLib class

TePoint: A class for handling 2D Points.

More information - http://www.terralib.org

Synopsis
data TePoint = TePoint TeCoord2D
type TePointPtr = Ptr TePoint
data TePointSet = TePointSet [TePoint]
type TePointSetPtr = Ptr TePointSet
x :: TePoint -> Double
y :: TePoint -> Double
getListPoint :: TePointSet -> [TePoint]
The TePoint type
data TePoint Source
The type TePoint represents 2D Points.
Constructors
TePoint TeCoord2D
show/hide Instances
The TePointPtr type
type TePointPtr = Ptr TePointSource
The type TePointPtr is a pointer to TePoint
The TePointSet type
data TePointSet Source
The type TePointSet represents a sets of 2D Points.
Constructors
TePointSet [TePoint]
show/hide Instances
The TePointSetPtr type
type TePointSetPtr = Ptr TePointSetSource
The type TePointSetPtr is a pointer to TePointSet
Operations on TePoint
x :: TePoint -> DoubleSource
Returns the X componente of the coordinate
y :: TePoint -> DoubleSource
Returns the Y componente of the coordinate
Operations on TePointSet
getListPoint :: TePointSet -> [TePoint]Source
Returns a TePoint list
Produced by Haddock version 2.4.2