reanimate-0.3.2.3: Animation library based on SVGs.
Reanimate.Math.Compatible
mkSteinerPoints :: V2 Rational -> V2 Rational -> Int -> [V2 Rational] Source #
split1Link :: Polygon -> Int -> Int -> Int -> (Polygon, Polygon) Source #
steiner2Link :: Polygon -> Int -> Int -> V2 Rational Source #
split2Link :: Polygon -> Int -> Int -> (Polygon, Polygon) Source #
data Link Source #
Constructors
splitNLink :: Polygon -> Int -> [(Link, Int)] -> (Polygon, Polygon) Source #
splitNLinks :: Polygon -> Int -> [(Link, Int)] -> [V2 Rational] Source #
selectContains :: Polygon -> Polygon -> V2 Rational -> Polygon Source #
type Points = Vector (V2 Rational) Source #
type Edges = [(Int, Int, Int)] Source #
data Mesh Source #
Fields
data MeshPair Source #
compatiblyTriangulateP :: Polygon -> Polygon -> [(Polygon, Polygon)] Source #
compatiblyTriangulateP' :: Polygon -> Polygon -> Polygon -> [(Polygon, Polygon)] Source #
oneBendBetween :: Polygon -> Int -> Int -> Bool Source #
polygonTwoLinks :: Polygon -> [(Int, Int)] Source #
polygonOneLinks :: Polygon -> [(Int, Int)] Source #