Copyright | (C) 2017 Maksymilian Owsianny |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Maksymilian.Owsianny@gmail.com |
Safe Haskell | None |
Language | Haskell2010 |
- data Sign
- toSign :: (EqZero n, Ord n, Num n) => n -> Sign
- data CrossPoint v n = CP {
- orientation :: Plane v n -> Sign
- getPoint :: Point v n
- class MakeCrossPoint v n where
- toCrossPoint :: (EqZero n, Foldable v, Num n, Ord n) => Point v n -> CrossPoint v n
Documentation
data CrossPoint v n Source #
ToPolytopeRep PolyT3 (FB3 v n) v n Source # | |
(MakePlane v n, Eq (v n), Foldable v, Applicative v, R3 v, Num n, Ord n, EqZero n) => FromPolytopeRep Poly3 (FB3 v n) v n Source # | |
(MakeCrossPoint v n, R2 v, Applicative v, Foldable v, Num n, Ord n, EqZero n) => Clip (FB2 v n) v n Source # | |
(MakeCrossPoint v n, R3 v, Applicative v, Foldable v, Num n, Ord n, EqZero n) => Clip (FB3 v n) v n Source # | |
(Ord n, Fractional n, EqZero n) => Universe (FB2 V2 n) V2 n Source # | |
(Ord n, Fractional n, EqZero n) => Universe (FB3 V3 n) V3 n Source # | |
class MakeCrossPoint v n where Source #
makeCrossPoint :: v (Plane v n) -> Maybe (CrossPoint v n) Source #
(Fractional n, Ord n, EqZero n) => MakeCrossPoint V3 n Source # | |
(Fractional n, Ord n, EqZero n) => MakeCrossPoint V2 n Source # | |
toCrossPoint :: (EqZero n, Foldable v, Num n, Ord n) => Point v n -> CrossPoint v n Source #
Convert a point to CrossPoint