/// <summary> /// 插入基准面 /// <para> Mark: 0 = First reference entity </para> /// <para> Mark: 1 = Second reference entity </para> /// <para> Mark: 2 = Third reference entity </para> /// </summary> /// <param name="featMgr"><see cref="IFeatureManager"/> Interface</param> /// <param name="firstRef">第一个参考</param> /// <param name="secondRef">第二个参考</param> /// <param name="thirdRef">第三个参考</param> /// <returns>调用此方法前,需要将参考对象提前选取 /// Mark: 0 = First reference entity /// Mark: 1 = Second reference entity /// Mark: 2 = Third reference entity /// </returns> public static IFeature InsertRefPlaneEx(this IFeatureManager featMgr, KeyValuePair <int, double> firstRef, KeyValuePair <int, double> secondRef, KeyValuePair <int, double> thirdRef) { return(featMgr.InsertRefPlane(firstRef.Key.SWToInt(), firstRef.Value, secondRef.Key.SWToInt(), secondRef.Value, thirdRef.Key.SWToInt(), thirdRef.Value) as IFeature); }