CV-0.3.5.4: OpenCV based machine vision library

Safe HaskellSafe-Infered

Utils.GeometryClass

Documentation

class Point2D a whereSource

Associated Types

type ELP a :: *Source

Methods

pt :: a -> (ELP a, ELP a)Source

toPt :: (ELP a, ELP a) -> aSource

convertPt :: (Point2D a, Point2D b, ELP a ~ ELP b) => a -> bSource

class BoundingBox a whereSource

Associated Types

type ELBB a :: *Source

Methods

bounds :: a -> Rectangle (ELBB a)Source

class FromBounds a whereSource

Associated Types

type ELFB a :: *Source

Methods

fromBounds :: Rectangle (ELFB a) -> aSource

class Line2D a whereSource

Associated Types

type ELL a :: *Source

Methods

offsetAngle :: a -> (ELL a, Double)Source

class LineSegment a whereSource

Associated Types

type ELS a :: *Source

Methods

startEnd :: a -> ((ELS a, ELS a), (ELS a, ELS a))Source