Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/LinearAlgebra.h @ 161:197a5ddaf68c wasm
FiniteProjectiveCamera
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 14 Feb 2018 11:29:26 +0100 |
parents | 0a73d76333db |
children | 8c5b24892ed2 |
comparison
equal
deleted
inserted
replaced
160:e9dae7e7bffc | 161:197a5ddaf68c |
---|---|
58 void AssignVector(Vector& v, | 58 void AssignVector(Vector& v, |
59 double v1, | 59 double v1, |
60 double v2, | 60 double v2, |
61 double v3); | 61 double v3); |
62 | 62 |
63 void AssignVector(Vector& v, | |
64 double v1, | |
65 double v2, | |
66 double v3, | |
67 double v4); | |
68 | |
63 inline bool IsNear(double x, | 69 inline bool IsNear(double x, |
64 double y, | 70 double y, |
65 double threshold) | 71 double threshold) |
66 { | 72 { |
67 return fabs(x - y) < threshold; | 73 return fabs(x - y) < threshold; |