iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Geometry.Circle

Documentation

data Circle a Source #

Constructors

Circle 

Fields

Instances

Instances details
Show a => Show (Circle a) Source # 
Instance details

Defined in Geometry.Circle

Methods

showsPrec :: Int -> Circle a -> ShowS #

show :: Circle a -> String #

showList :: [Circle a] -> ShowS #

Eq a => Eq (Circle a) Source # 
Instance details

Defined in Geometry.Circle

Methods

(==) :: Circle a -> Circle a -> Bool #

(/=) :: Circle a -> Circle a -> Bool #

inCircle :: (Num a, Ord a) => Point a -> Circle a -> Bool Source #

triangleCenter :: Fractional a => a -> a -> a -> Point a -> Point a -> Point a -> Point a Source #

incenter :: Floating a => Point a -> Point a -> Point a -> Point a Source #

centroid :: Fractional a => Point a -> Point a -> Point a -> Point a Source #

orthocenter :: Num a => Point a -> Point a -> Point a -> Point a Source #