/// <summary> /// Dots the product. /// </summary> /// <param name="point">The point.</param> /// <returns>System.Double.</returns> public double DotProduct(Point3D point) { return(VectorLibrary.DotProduct(X, Y, Z, point.X, point.Y, point.Z)); }
/// <summary> /// Dot product of two vectors. /// </summary> /// <param name="vector">The vector.</param> /// <returns>System.Double.</returns> public double DotProduct(Vector vector) { return(VectorLibrary.DotProduct(Xcomponent, vector.Xcomponent, Ycomponent, vector.Ycomponent)); }