示例#1
0
 /// <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));
 }
示例#2
0
 /// <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));
 }