Point in polygon written in scala
===

I was wondering the best way to covert this C# method to Scala Function, it seems like this could be more concise using scala's sytax.    

    bool IsPointInPolygon(List<Loc> poly, Loc point)
                {
                    int i, j;
                    bool c = false;
                    for (i = 0, j = poly.Count - 1; i < poly.Count; j = i++)
                    {
                        if ((((poly[i].Lt <= point.Lt) && (point.Lt < poly[j].Lt)) ||
                            ((poly[j].Lt <= point.Lt) && (point.Lt < poly[i].Lt))) &&
                            (point.Lg < (poly[j].Lg - poly[i].Lg) * (point.Lt - poly[i].Lt) / (poly[j].Lt - poly[i].Lt) + poly[i].Lg))
                            c = !c;
                    }
                    return c;
                }