예제 #1
0
 /// <summary>
 /// Convert MathNet.Spatial.Euclidean.Vector3D to System.Windows.Media.Media3D.Vector3D
 /// </summary>
 /// <param name="vector">The vector to convert.</param>
 /// <returns>The converted vector.</returns>
 public static Vector3D ToVector3D(this euclidean.Vector3D vector)
 {
     return(new Vector3D(vector.X, vector.Y, vector.Z));
 }