| 1314 | |
| 1315 | template <typename T> |
| 1316 | int ProjectVector() |
| 1317 | { |
| 1318 | int status = 0; |
| 1319 | T a[3], b[3], c[3]; |
| 1320 | for (int i = 0; i < 3; ++i) |
| 1321 | { |
| 1322 | a[i] = 0.0; |
| 1323 | b[i] = 0.0; |
| 1324 | } |
| 1325 | if (vtkMath::ProjectVector(a, b, c)) |
| 1326 | { |
| 1327 | std::cout << "ProjectVector of a 0 vector should return false "; |
| 1328 | ++status; |
| 1329 | } |
| 1330 | return status; |
| 1331 | } |
| 1332 | |
| 1333 | // Validate 0 vector case. TestMath does the rest |
| 1334 | int TestProjectVector() |
no outgoing calls
no test coverage detected