Difference between revisions of "Diagrams/Converting"

From HaskellWiki
Jump to navigation Jump to search
(conversion table for some diagrams types)
m (add a description)
 
Line 1: Line 1:
  +
This page collects some conversion tables showing how to convert between different diagrams types. Each cell shows how to convert from the type labelling its row to the type labelling its column.
  +
 
== Diagrams and QDiagrams ==
 
== Diagrams and QDiagrams ==
   

Latest revision as of 20:53, 2 June 2017

This page collects some conversion tables showing how to convert between different diagrams types. Each cell shows how to convert from the type labelling its row to the type labelling its column.

Diagrams and QDiagrams

For more information see http://projects.haskell.org/diagrams/doc/manual.html#using-queries .

QDiagram ... m Diagram
QDiagram ... m clearValue, resetValue
Diagram value

Directions and Angles

vector (e.g. V2) Direction Angle
Point (.-.) dirBetween
vector (e.g. V2) id direction angleBetween, signedAngleBetween
Direction fromDirection id angleBetweenDirs, signedAngleBetweenDirs
Angle angleV, e angleDir id