hgeometry-0.5.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Algorithms.Geometry.SmallestEnclosingBall.Types

Synopsis

Documentation

data TwoOrThree a Source

List of two or three elements

Constructors

Two !a !a 
Three !a !a !a 

data DiskResult p r Source

The result of a smallest enclosing disk computation: The smallest ball and the points defining it

Constructors

DiskResult 

enclosingDisk :: forall p r. Lens' (DiskResult p r) (Disk () r) Source

definingPoints :: forall p r p. Lens (DiskResult p r) (DiskResult p r) (TwoOrThree ((:+) (Point 2 r) p)) (TwoOrThree ((:+) (Point 2 r) p)) Source