Three
Tools for 3-way partitioning.
Enum type with 3 elements.
The value
3 bound to the
Int type encoded as an
Expr.
> three
3 :: Int
Group a list into blocks of 3 elements.
This module defines the three-dimensional vector space R^3,
three-dimensional transformations, and various predefined
three-dimensional shapes. This module re-exports useful functionality
from a group of more specific modules:
- Diagrams.ThreeD.Types defines basic types for
two-dimensional diagrams, including types representing the 3D
Euclidean vector space and various systems of representing
directions.
- Diagrams.ThreeD.Transform defines R^3-specific
transformations such as rotation by an angle, and scaling,
translation, and reflection in the X, Y, and Z directions.
Diagrams.ThreeD.Deform defines several R^3-specific non-affine
transformations, such as projections.
- Diagrams.ThreeD.Shapes defines three-dimensional solids,
e.g. spheres and cubes.
- Diagrams.ThreeD.Vector defines some special 3D vectors and
functions for converting between vectors and directions.
- Diagrams.ThreeD.Light and Diagrams.ThreeD.Camera
define types needed for rendering 3D geometry to (2D) images.
- Diagrams.ThreeD.Align defines many alignment combinators
specialized to three dimensions.
- Diagrams.ThreeD.Attributes defines 3D-specific attributes
such as surface color, diffuse reflectance, and specular
highlights.
Requires Graphviz >= 2.30.0.