- ccw :: Vector2 Rational -> Vector2 Rational -> Vector2 Rational -> Ordering
- incircle :: (Vector2 Rational, Vector2 Rational, Vector2 Rational) -> Vector2 Rational -> Ordering
- cintt :: Rational -> Rational -> Rational -> Bool
- isctp :: LineSegment (Vector2 Rational) -> LineSegment (Vector2 Rational) -> Vector2 Rational

# Documentation

:: Vector2 Rational | |

-> Vector2 Rational | |

-> Vector2 Rational | |

-> Ordering | LT=Right, GT=Left, EQ=Coincident |

Counter-clockwise orientation test. Classifies p3 in relation to the line formed by p1 and p2.

:: (Vector2 Rational, Vector2 Rational, Vector2 Rational) | 3 points on the circle, must be in counterclockwise order. |

-> Vector2 Rational | Query point |

-> Ordering | GT=inside, EQ=border, LT=outside |

Test the relation of a point to the circle formed by (p1..p3).

Test if Point is within the closed interval specified

isctp :: LineSegment (Vector2 Rational) -> LineSegment (Vector2 Rational) -> Vector2 RationalSource

Calculate the point of intersecton. Assumes the input lines are already known to be intersecting,