public static bool PlaneNormalEquals(this IRefPlane p, IMathUtility mathUtility, double[] normal, double tol) { return(MathPointExtensions.Equals(mathUtility.Vector(p.Normal(mathUtility)), mathUtility.Vector(normal), tol)); }
/// <summary> /// 获取平面的点法式 /// </summary> /// <param name="plane"></param> /// <param name="math"></param> /// <returns></returns> public static PointDirection3 GetPointDirection3(this IRefPlane plane, IMathUtility math) { return(new PointDirection3(new Vector3(plane.Normal(math)), new Vector3(plane.Origin(math)))); }