Represents a boundary of the layer, which is specified by a mesh grid of control points that vary in depth according to a vector of parameters. More...
#include <interpolatorspec.hpp>
Public Member Functions | |
| InterpolatorSpec (const std::pair< double, double > &xBounds, const std::pair< double, double > &yBounds, const std::pair< double, double > &zBounds, const BoundarySpec &boundaryspec) | |
| Initialise interpolation params. More... | |
| InterpolatorSpec () | |
| Initialise an empty interpolator specification. | |
| Eigen::MatrixXd | getWeights (const Eigen::MatrixXd &queryX) const |
| Get the weights for the mean function. Multiply the transpose of this with the thetas will give the interpolated depths. | |
| int | numControlPoints () const |
| Get the number of control points. More... | |
Public Attributes | |
| std::pair< uint, uint > | resolution |
| Pair containing the x and y resolutions. | |
| Eigen::MatrixXd | controlPointX |
| BoundaryClass | boundaryClass |
| The type of boundary that this represents. | |
| Eigen::MatrixXd | offsetFunction |
| std::pair< double, double > | offsetXBounds |
| std::pair< double, double > | offsetYBounds |
| double | floorHeight |
Represents a boundary of the layer, which is specified by a mesh grid of control points that vary in depth according to a vector of parameters.
| obsidian::world::InterpolatorSpec::InterpolatorSpec | ( | const std::pair< double, double > & | xBounds, |
| const std::pair< double, double > & | yBounds, | ||
| const std::pair< double, double > & | zBounds, | ||
| const BoundarySpec & | boundaryspec | ||
| ) |
Initialise interpolation params.
| xBounds,yBounds,zBounds | Pairs containing the min and max boundaries in each direction. |
| boundarySpec | The boundary specification. |
| int obsidian::world::InterpolatorSpec::numControlPoints | ( | ) | const |
Get the number of control points.