SyFi
0.3
|
#include "Ptv_tools.h"
#include <iostream>
#include <stdexcept>
#include <math.h>
#include <vector>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
namespace | SyFi |
Functions | |
void | SyFi::sort_vector (vector< Ptv > &a) |
void | SyFi::set_tolerance (double tolerance) |
double | SyFi::mul (const Ptv &a, const Ptv &b) |
double | SyFi::norm (const Ptv &a) |
void | SyFi::normalize (Ptv &a) |
void | SyFi::add (const Ptv &a, const Ptv &b, Ptv &c) |
void | SyFi::sub (const Ptv &a, const Ptv &b, Ptv &c) |
void | SyFi::cross (const Ptv &a, const Ptv &b, Ptv &c) |
bool | SyFi::is_equal (Ptv &a, Ptv &b) |
bool | SyFi::line_contains (Ptv &e0, Ptv &e1, Ptv &p) |
bool | SyFi::is_inside_triangle (Ptv &e0, Ptv &e1, Ptv &e2, Ptv &p) |
bool | SyFi::contains2D (Ptv &e0, Ptv &e1, Ptv &p) |
bool | SyFi::contains3D (Ptv &e0, Ptv &e1, Ptv &e2, Ptv &p) |