1 #ifndef SEEN_NR_COORD_H
2 #define SEEN_NR_COORD_H
4 namespace NR {
6 /**
7 * A "real" type with sufficient precision for coordinates.
8 *
9 * You may safely assume that double (or even float) provides enough precision for storing
10 * on-canvas points, and hence that double provides enough precision for dot products of
11 * differences of on-canvas points.
12 */
13 typedef double Coord;
15 } /* namespace NR */
18 #endif /* !SEEN_NR_COORD_H */
20 /*
21 Local Variables:
22 mode:c++
23 c-file-style:"stroustrup"
24 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
25 indent-tabs-mode:nil
26 fill-column:99
27 End:
28 */
29 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :