SuperMap.Connector.NetworkAnalyst.ComputeWeightMatrix C# (CSharp) Method

ComputeWeightMatrix() public method

根据坐标点数组,得出一个耗费矩阵。该矩阵是一个二维 double 数组,用来存储任意两点间的资源消耗。
参数 networkDatasetName为空时抛出异常。 服务端处理错误时抛出异常。
public ComputeWeightMatrix ( string networkDatasetName, Point2D points ) : double[][]
networkDatasetName string 用于唯一标识一个网络数据集的字符串,必设字段。
points Point2D 需要计算耗费矩阵的点集合。
return double[][]
        public double[][] ComputeWeightMatrix(string networkDatasetName, Point2D[] points)
        {
            return _netWorkAnalystProvider.ComputeWeightMatrix<Point2D>(networkDatasetName, new List<Point2D>(points), null);
        }

Same methods

NetworkAnalyst::ComputeWeightMatrix ( string networkDatasetName, Point2D points, TransportationAnalystParameter parameter ) : double[][]
NetworkAnalyst::ComputeWeightMatrix ( string networkDatasetName, int nodeIDs ) : double[][]
NetworkAnalyst::ComputeWeightMatrix ( string networkDatasetName, int nodeIDs, TransportationAnalystParameter parameter ) : double[][]