GEOS 3.15.0dev
|
#include <DiscreteFrechetDistance.h>
Public Member Functions | |
RectMatrix (std::size_t numRows, std::size_t numCols, double defaultValue) | |
double | get (std::size_t i, std::size_t j) const override |
void | set (std::size_t i, std::size_t j, double value) override |
bool | isValueSet (std::size_t i, std::size_t j) const override |
![]() | |
MatrixStorage (std::size_t numRows, std::size_t numCols, double defaultValue) | |
Additional Inherited Members | |
![]() | |
std::size_t | m_numRows |
std::size_t | m_numCols |
double | m_defaultValue |
Straight forward implementation of a rectangular matrix
|
inline |
Creates an instance of this matrix using the given number of rows and columns. A default value can be specified
numRows | the number of rows |
numCols | the number of columns |
defaultValue | A default value |
|
inlineoverridevirtual |
Gets the matrix value at i, j
i | the row index |
j | the column index |
Implements geos::algorithm::distance::DiscreteFrechetDistance::MatrixStorage.
|
inlineoverridevirtual |
Gets a flag indicating if the matrix has a set value, e.g. one that is different than MatrixStorage defaultValue.
i | the row index |
j | the column index |
Implements geos::algorithm::distance::DiscreteFrechetDistance::MatrixStorage.
|
inlineoverridevirtual |
Sets the matrix value at i, j
i | the row index |
j | the column index |
value | The matrix value to set at i, j |
Implements geos::algorithm::distance::DiscreteFrechetDistance::MatrixStorage.