#include "meshmorph.h"
#include "vertex.h"
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | result |
Functions | |
double | dot (vec_d const &, vec_d const &) |
double | dot (double const *const a, double const *const b) |
double | dot (vector3 const &, vector3 const &) |
double | dot (vector3 const *, vector3 const *) |
double | l2 (double *const t) |
void | cross (double *const t1, double *const t2, double *const cr) |
result | checkLineFaceInt (Face const *const f, vector3 const &, vector3 const &, bool ignore_line_flag) |
int | getLargestProjection (vec_d const &) |
int | distinguishable (double a, double b) |
int | distinguishable (double a, double b, double epsilon) |
bool | parseCommandLine (int argc, char **argv, std::string const &message) |
bool | checkIntSize (void) |
bool checkIntSize | ( | void | ) |
Determine if integers are 32 bit.
result checkLineFaceInt | ( | Face const *const | f, | |
vector3 const & | origin, | |||
vector3 const & | end, | |||
bool | ignore_line | |||
) |
Detect and report intersection of line segment and face.
[in] | f | Face of interest. |
[in] | origin | Vector position of one end of line segment. |
[in] | end | Vector position of other end of line segment. |
[in] | ignore_line | If true then compute intersection of full line and face; otherwise use line segment for intersection. |
void cross | ( | double *const | a, | |
double *const | b, | |||
double *const | cr | |||
) |
Calculate cross product of two input vectors.
[in] | a | First vector. |
[in] | b | Second vector. |
[out] | cr | Vector cross product of a x b. |
int distinguishable | ( | double | a, | |
double | b, | |||
double | epsilon | |||
) |
Determine if two floating-point precision numbers are equivalent in value within epsilon.
[in] | a | First number. |
[in] | b | Second number. |
[in] | epsilon | The difference between the two input values must be greater than the fraction of the largest input value defined by epsilon. |
int distinguishable | ( | double | a, | |
double | b | |||
) |
Determine if two floating-point precision numbers are equivalent in value within DOUBLE_EPSILON.
[in] | a | First number. |
[in] | b | Second number. |
double dot | ( | double const *const | a, | |
double const *const | b | |||
) |
Calculate dot product of two input vectors.
[in] | a | First vector. |
[in] | b | Second vector. |
int getLargestProjection | ( | vec_d const & | ) |
double l2 | ( | double *const | t | ) |
bool parseCommandLine | ( | int | argc, | |
char ** | argv, | |||
std::string const & | message | |||
) |
Parse meshmorph command line.
[in] | argc | Argc. |
[in] | argv | Argv. |
[in] | message | General error/help message explaining meshmorph. |