public static bool AreOrthogonal(Vector vectorA, Vector vectorB) { if (Vector.GetDotProduct(vectorA, vectorB) == 0) { return(true); } else { return(false); } }