/// <summary> /// 获得齿最小距离 /// </summary> /// <returns></returns> public double AskMinDim() { double min = 9999; double[] pt1 = new double[3]; double[] pt2 = new double[3]; for (int i = 0; i < this.HeadBodys.Count - 1; i++) { for (int j = i + 1; j < this.HeadBodys.Count; j++) { double temp = AnalysisUtils.AskMinimumDist(this.HeadBodys[i].Tag, this.HeadBodys[j].Tag, out pt1, out pt2); temp = Math.Round(temp, 3); if (min >= temp) { min = temp; } } } return(min); }