public static double Length(this IFlow flowObj) { return((flowObj.Geometry() as ICurve).ILength()); }