Exemple #1
0
 private void CheckStatus()
 {
     if (this.points.Count == 0)
     {
         this.status = IntersectionStatus.NO_INTERSECTION;
     }
     if (this.points.Count == 1)
     {
         this.status = IntersectionStatus.INTERSECTION;
     }
     else
     {
         this.status = IntersectionStatus.MULTIPLE_INTERSECTIONS;
     }
 }
Exemple #2
0
 /// <summary>
 /// The Constructor
 /// </summary>
 public IntersectionHelper()
 {
     this.status = IntersectionStatus.NO_INTERSECTION;
     this.points = new List <Vector3>();
 }