/// <summary> /// for the definistion of <see cref="INurbs3d"/> /// </summary> /// <returns>constant 1.</returns> double[,] INurbs3d.getWeights() { long Acount = ControlPoints.GetLongLength(0); long BCount = ControlPoints.GetLongLength(1); double[,] result = new double[Acount, BCount]; for (int i = 0; i < Acount; i++) { for (int j = 0; j < BCount; j++) { result[i, j] = 1; } } return(result); }