Struct CRSDistance::Parameter

Nested Relationships

This struct is a nested type of Class CRSDistance.

Inheritance Relationships

Base Type

Struct Documentation

struct Parameter : public gwm::Distance::Parameter

Struct of parameters used in spatial distance calculating according to coordinate reference system.

Public Functions

inline Parameter(const arma::mat &fp, const arma::mat &dp)

Construct a new CRSDistanceParameter object. Reference to focus points Reference to data points.

Public Members

arma::mat focusPoints

Matrix of focus points’ coordinates. The shape of it must be \(n \times 2\) and the first column is longitudes or \(x\)-coordinate, the second column is latitudes or \(y\)-coordinate.

arma::mat dataPoints

Matrix of data points’ coordinates. The shape of it must be \(n \times 2\) and the first column is longitudes or \(x\)-coordinate, the second column is latitudes or \(y\)-coordinate.