Definition in file vgl_lineseg_test.txx.
#include "vgl_lineseg_test.h"
#include <vgl/vgl_triangle_test.h>
#include <vcl_cmath.h>
Go to the source code of this file.
Defines | |
| #define | VGL_LINESEG_TEST_INSTANTIATE(T) |
Functions | |
| template<class T> | |
| bool | vgl_lineseg_test_line (T x1, T y1, T x2, T y2, T x3, T y3, T x4, T y4) |
| true if the line joining [1], [2] meets the linesegment joining [3], [4]. | |
| template<class T> | |
| bool | vgl_lineseg_test_lineseg (T x1, T y1, T x2, T y2, T x3, T y3, T x4, T y4) |
| true if the linesegment joining [1], [2] meets the linesegment joining [3], [4]. | |
| #define VGL_LINESEG_TEST_INSTANTIATE | ( | T | ) |
Value:
template bool vgl_lineseg_test_line(T, T, T, T, T, T, T, T); \ template bool vgl_lineseg_test_lineseg(T, T, T, T, T, T, T, T)
Definition at line 87 of file vgl_lineseg_test.txx.
| bool vgl_lineseg_test_line | ( | T | x1, | |
| T | y1, | |||
| T | x2, | |||
| T | y2, | |||
| T | x3, | |||
| T | y3, | |||
| T | x4, | |||
| T | y4 | |||
| ) |
true if the line joining [1], [2] meets the linesegment joining [3], [4].
End points are considered to belong to a line segment.
Definition at line 13 of file vgl_lineseg_test.txx.
| bool vgl_lineseg_test_lineseg | ( | T | x1, | |
| T | y1, | |||
| T | x2, | |||
| T | y2, | |||
| T | x3, | |||
| T | y3, | |||
| T | x4, | |||
| T | y4 | |||
| ) |
true if the linesegment joining [1], [2] meets the linesegment joining [3], [4].
End points are considered to belong to a line segment.
Definition at line 33 of file vgl_lineseg_test.txx.
1.5.1