void CheckOrientationIndex(LineSegment seg,
     double s0x, double s0y,
     double s1x, double s1y,
     int expectedOrient)
 {
     LineSegment seg2 = new LineSegment(s0x, s0y, s1x, s1y);
     int orient = seg.OrientationIndex(seg2);
     Assert.IsTrue(orient == expectedOrient);
 }
 void CheckOrientationIndex(LineSegment seg,
     double px, double py,
     int expectedOrient)
 {
     Coordinate p = new Coordinate(px, py);
     int orient = seg.OrientationIndex(p);
     Assert.IsTrue(orient == expectedOrient);
 }