public static IVector3D CreateUnitVector(IVector3D toVector, IVector3D fromVector) { IVector3D vector = IVector3D.Sub(toVector, fromVector); vector.Norm(); return(vector); }
public static IVector3D CreateVector(IVector3D toVector, IVector3D fromVector) { return(IVector3D.Sub(toVector, fromVector)); }
public static double Dist(IVector3D vector1, IVector3D vector2) { IVector3D vec = IVector3D.Sub(vector1, vector2); return(vec.Mag()); }