GeomAlg-0.2.3: Library of geometric algorithms in HaskellSource codeContentsIndex
GeomAlg.ConvexHull.JarvisMarch
Description
Implementation of Jarvis March.
Synopsis
jarvis :: (Floating a, Ord a) => [P2 a] -> Polygon2 a
withMinimalSlope :: (Floating a, Ord a) => P2 a -> [P2 a] -> P2 a
withLargestAngle :: (Floating a, Ord a) => P2 a -> P2 a -> [P2 a] -> P2 a
jarvisInt :: (Ord a, Num a) => [P2 a] -> Polygon2 a
withMinimalSlopeInt :: (Ord a, Num a) => P2 a -> [P2 a] -> P2 a
withLargestAngleInt :: (Ord a, Num a) => P2 a -> P2 a -> [P2 a] -> P2 a
Documentation
jarvis :: (Floating a, Ord a) => [P2 a] -> Polygon2 aSource
Die Integer-Version ist nicht unbedingt korrekter, siehe points2 10009 200.
withMinimalSlope :: (Floating a, Ord a) => P2 a -> [P2 a] -> P2 aSource
withLargestAngle :: (Floating a, Ord a) => P2 a -> P2 a -> [P2 a] -> P2 aSource
jarvisInt :: (Ord a, Num a) => [P2 a] -> Polygon2 aSource
withMinimalSlopeInt :: (Ord a, Num a) => P2 a -> [P2 a] -> P2 aSource
withLargestAngleInt :: (Ord a, Num a) => P2 a -> P2 a -> [P2 a] -> P2 aSource
Produced by Haddock version 2.4.2