/// <summary> /// True: The concave side of the vector is inside the shape. /// This is determined by the direction of the vector. /// </summary> /// <param name="line1"></param> /// <param name="line2"></param> /// <param name="tolerance">Tolerance by which a double is considered to be zero or equal.</param> /// <returns></returns> public static bool ConcaveInside(LineSegment line1, LineSegment line2, double tolerance = ZeroTolerance) { return(VectorLibrary.IsConcaveInside(line1.ToVector(), line2.ToVector(), tolerance)); }