Test look-up table for leaf angle distribution.
More...
#include <LadLutTest.h>
|
double | eps = 0.00001 |
| Decimal precision for validation purposes.
|
|
std::string | testDir |
| Where required test files are stored. For LadLutTest it is required that a file named spherical.txt is inside the test folder so ladlut can be parsed.
|
|
|
std::string const | name |
| The name for the test.
|
|
Test look-up table for leaf angle distribution.
- Author
- Alberto M. Esmoris Pena
- Version
- 1.0
◆ run()
bool HeliosTests::LadLutTest::run |
( |
| ) |
|
|
overridevirtual |
◆ validateLadLut()
bool HeliosTests::LadLutTest::validateLadLut |
( |
LadLut const & |
ladlut | ) |
|
Validate given leaf angle distribution look-up table.
- Parameters
-
ladlut | Leaf angle distribution look-up table to be validated |
- Returns
- True if given leaf angle distribution look-up table was valid, false otherwise
- See also
- LadLut
◆ validateTransformation()
bool HeliosTests::LadLutTest::validateTransformation |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z, |
|
|
double |
ex, |
|
|
double |
ey, |
|
|
double |
ez |
|
) |
| |
Validate a transformation.
A transformation will be considered to be valid when the difference between obtained and expected value does not exceed eps
- Parameters
-
x | Obtained X coordinate |
y | Obtained Y coordinate |
z | Obtained Z coordinate |
ex | Expected X coordinate |
ey | Expected Y coordinate |
ez | Expected Z coordinate |
- Returns
- True if transformation was valid, false otherwise
- See also
- LadLutTest::eps
The documentation for this class was generated from the following file: