Exemple #1
0
 public bool Intersect(mySection section)
 {
     for (int i = 1; i < vertexes.Count; i++)
     {
         myVertex intersection = new mySection(vertexes[i - 1], vertexes[i]).Intersect(section);
         if ( intersection != null)
         {
             if (!intersection.Equals(section.Left))
                 return true;
             else
                 continue;
         }
     }
     return false;
 }