hgeometric-0.0.2: A geometric library with bindings to GPC.
Source code
Contents
Index
Algebra.Geometric.Clip
Description
Clip
operations to
Polygon
s and
Strip
s.
Documentation
class
Storable
geometry =>
Clip
geometry
where
Source
Methods
difference
::
Polygon
->
Polygon
->
IO
geometry
Source
An
IO
version of
\\
, which does not use
unsafePerformIO
.
intersection
::
Polygon
->
Polygon
->
IO
geometry
Source
An
IO
version of
/\
, which does not use
unsafePerformIO
.
xor
::
Polygon
->
Polygon
->
IO
geometry
Source
An
IO
version of
<+>
, which does not use
unsafePerformIO
.
union
::
Polygon
->
Polygon
->
IO
geometry
Source
An
IO
version of
\/
, which does not use
unsafePerformIO
.
(\\)
::
Polygon
->
Polygon
-> geometry
Source
difference
: Returns a
Polygon
with the area in the first
Polygon
and not in the second.
(/\)
::
Polygon
->
Polygon
-> geometry
Source
intersection
: a
Polygon
with the area in both the first and the second
Polygon
.
(<+>)
::
Polygon
->
Polygon
-> geometry
Source
xor
: Returns a
Polygon
with the area in the first or the second
Polygon
, but not in both.
(\/)
::
Polygon
->
Polygon
-> geometry
Source
union
: Returns a
Polygon
with the area in the first or the second
Polygon
.
Instances
Clip
Polygon
Clip
Strip
Produced by
Haddock
version 2.3.0