#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <unistd.h>#include <dirent.h>#include <fnmatch.h>#include <termios.h>#include <cstdlib>#include <cstdio>#include <ctime>#include <climits>#include <cfloat>#include <cstring>#include <cerrno>#include <cstdarg>#include <cctype>#include <cmath>Include dependency graph for platform.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | TYPENAME |
| #define | JOT_NEEDS_DOUBLE_STAR_EXPLICIT |
Typedefs | |
| typedef int | bool |
Functions | |
| template<class T> | |
| T | sqr (const T &x) |
| int | round (double x) |
| template<class T> | |
| void | swap (T &a, T &b) |
| template<class T> | |
| T | min (const T &a, const T &b) |
| template<class T> | |
| T | max (const T &a, const T &b) |
| template<class T> | |
| T | clamp (const T &a, const T &b, const T &c) |
| template<class T> | |
| T | interp (const T &A, const T &B, double w) |
| template<class T> | |
| bool | in_interval (const T &p, const T &a, const T &b) |
| int | Sign (double a) |
| int | Sign2 (double a) |
| bool | XOR (bool x, bool y) |
Variables | |
| const int | true = 1 |
| const int | false = 0 |
|
|
Definition at line 146 of file platform.H. |
|
|
Definition at line 59 of file platform.H. |
|
|
Definition at line 70 of file platform.H. |
|
||||||||||||||||||||
|
Definition at line 194 of file platform.H. |
|
||||||||||||||||||||
|
Definition at line 211 of file platform.H. Referenced by get_section(), and mlib::NDCZpt::in_frustum(). |
|
||||||||||||||||||||
|
Definition at line 203 of file platform.H. |
|
||||||||||||||||
|
||||||||||||||||
|
|
Definition at line 163 of file platform.H. References int(). Referenced by VisRefImage::need_update(). |
|
|
Definition at line 220 of file platform.H. Referenced by Cam_int_fp::orbit_rot(), Cam_int::rot(), Cam_int_fp::rot(), Cam_int_edit::rot(), rotate_camera(), mlib::Vec3< V >::signed_angle(), mlib::Vec2< V >::signed_angle(), CamOrbit::tick(), Bedge::which_side(), Cam_int::zoom2(), and Cam_int_edit::zoom2(). |
|
|
Definition at line 227 of file platform.H. Referenced by sort_date(), and sort_size(). |
|
||||||||||
|
||||||||||||||||
|
Definition at line 174 of file platform.H. Referenced by Cam_int::choose(), Cam_int_fp::choose(), Cam_int_edit::choose(), diagonalize_curv(), GESTURE::is_ellipse(), Bedge::is_sil(), mlib::ludcmp(), ARRAY< NDCpt >::reverse(), Bface::reverse(), ZcrossPath::start_sil(), and Bface::view_intersect(). |
|
||||||||||||
|
Definition at line 230 of file platform.H. Referenced by GEOM::do_cam_focus(), and is_fold(). |
|
|
Definition at line 72 of file platform.H. |
|
|
Definition at line 71 of file platform.H. Referenced by Bface::zx_query(). |
1.4.4