Esempio n. 1
0
 /// <summary>
 /// 获取终点
 /// </summary>
 /// <param name="line"><see cref="ISketchLine"/></param>
 /// <returns><see cref="ISketchPoint"/></returns>
 public static ISketchPoint GetEndPoint2Ex(this ISketchLine line)
 {
     return(line.GetEndPointEx() as ISketchPoint);
 }
Esempio n. 2
0
 /// <summary>
 /// 获取起点和终点
 /// </summary>
 /// <param name="line"><see cref="ISketchLine"/></param>
 /// <param name="startPoint">起点 <see cref="Vector3"/></param>
 /// <param name="endPoint">终点 <see cref="Vector3"/></param>
 public static void GetPoints(this ISketchLine line, out Vector3 startPoint, out Vector3 endPoint)
 {
     startPoint = line.GetStartPointEx();
     endPoint   = line.GetEndPointEx();
 }