summaryrefslogtreecommitdiffstats
path: root/src/libnr/nr-values.cpp
blob: 846a16bb8a439abf83f7b1c51855fe653f765da3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#define __NR_VALUES_C__

#include <libnr/nr-rect-l.h>


/*
The following predefined objects are for reference
and comparison.
*/
NRMatrix NR_MATRIX_IDENTITY =
       {{1.0, 0.0, 0.0, 1.0, 0.0, 0.0}};
NRRect   NR_RECT_EMPTY(NR_HUGE, NR_HUGE, -NR_HUGE, -NR_HUGE);
NRRectL  NR_RECT_L_EMPTY =
       {NR_HUGE_L, NR_HUGE_L, -NR_HUGE_L, -NR_HUGE_L};
NRRectL  NR_RECT_S_EMPTY =
       {NR_HUGE_S, NR_HUGE_S, -NR_HUGE_S, -NR_HUGE_S};

/** component_vectors[i] is like $e_i$ in common mathematical usage;
    or equivalently $I_i$ (where $I$ is the identity matrix). */
NR::Point const component_vectors[] = {NR::Point(1., 0.),
				       NR::Point(0., 1.)};