结构体 OneDimDistance::Parameter
嵌套关系
This struct is a nested type of 类 OneDimDistance.
继承关系
基类
public gwm::Distance::Parameter
(结构体 Distance::Parameter)
结构体文档
-
struct Parameter : public gwm::Distance::Parameter
Struct of parameters used in spatial distance calculating according to coordinate reference system. Usually a pointer to object of this class is passed to OneDimDistance::distance().
公有成员函数
-
inline Parameter(const arma::vec &fp, const arma::vec &dp)
Construct a new OneDimDistanceParameter object.
- 参数
fp – Reference to focus points.
dp – Reference to data points.
公有成员
-
arma::vec focusPoints
Matrix of focus points’ coordinates. The shape of it must be nx2 and the first column is longitudes or x-coordinate, the second column is latitudes or y-coordinate.
-
arma::vec dataPoints
Matrix of data points’ coordinates. The shape of it must be nx2 and the first column is longitudes or x-coordinate, the second column is latitudes or y-coordinate.
-
inline Parameter(const arma::vec &fp, const arma::vec &dp)