DFNgen  2.0
DFN Model Generator
vectorFunctions.cpp File Reference
#include <cmath>
#include "structures.h"
#include "vectorFunctions.h"
#include <iostream>
#include "input.h"
Include dependency graph for vectorFunctions.cpp:

Go to the source code of this file.

Functions

double * projection (const double *v1, const double *v2)
 
double euclideanDistance (double *A, double *B)
 
double euclideanDistance (Point &A, Point &B)
 
double angleBeteenVectors (const double *vector1, const double *vector2)
 

Function Documentation

§ angleBeteenVectors()

double angleBeteenVectors ( const double *  vector1,
const double *  vector2 
)

Definition at line 74 of file vectorFunctions.cpp.

Here is the call graph for this function:

§ euclideanDistance() [1/2]

double euclideanDistance ( double *  A,
double *  B 
)

Definition at line 46 of file vectorFunctions.cpp.

Here is the caller graph for this function:

§ euclideanDistance() [2/2]

double euclideanDistance ( Point A,
Point B 
)

Definition at line 57 of file vectorFunctions.cpp.

§ projection()

double* projection ( const double *  v1,
const double *  v2 
)

Definition at line 20 of file vectorFunctions.cpp.

Here is the caller graph for this function: