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; } }
/// <summary> /// The Constructor /// </summary> public IntersectionHelper() { this.status = IntersectionStatus.NO_INTERSECTION; this.points = new List <Vector3>(); }