/// <summary> /// 分析电极 /// </summary> private void AnalysisElectrode() { this.analysisBody = new AnalysisBodySlopeAndMinDia(new Vector3d(0, 0, 1), eleBody); if (this.analysisBody.AnaFaces.Count <= 13) { throw new Exception("分析体错误!"); } this.analysisBody.AnaFaces.RemoveRange(0, 4); this.analysisBody.AnaFaces.RemoveRange(1, 5); }
/// <summary> /// 分析电极是否有倒扣 /// </summary> /// <returns></returns> public bool AnalyeBackOffFace() { bool isBack = true; foreach (Body by in eleHead) { AnalysisBodySlopeAndMinDia analysis = new AnalysisBodySlopeAndMinDia(this.EleMatr.GetZAxis(), by); isBack = analysis.AskBackOffFace(); } return(isBack); }