예제 #1
0
 public static UV ToUV(this rg.Point2f uv)
 {
     return(new UV(uv.X, uv.Y));
 }
예제 #2
0
 /// <summary>
 /// Returns a Windows Point from a Rhino.Geometry.Point2f
 /// </summary>
 /// <param name="input">Rhinocommon Point2f</param>
 /// <returns>System Windows Point</returns>
 public static Sw.Point ToWindowsPoint(this Rg.Point2f input)
 {
     return(new Sw.Point(input.X, input.Y));
 }