To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
type t = p2
The type for points.
dim is the dimension of points of type
type mh = m3
The type for matrices representing linear transformations of homogenous 2D space.
Constructors, accessors and constants
val v : float -> float -> p2
v x y is the point
val x : p2 -> float
x p is the x coordinate of
val y : p2 -> float
y p is the y coordinate of
val o : p2
o is the point
tr m p is the affine transform in homogenous 2D space of the point
m is supposed to be affine the function ignores the last row of
p is treated as a finite point (its last coordinate in homogenous space is 1). Use
V2.tr to transform vectors (infinite points).