Exemple #1
0
 public ObstacleGraphPoint(Polygon polygon, Coordinate previousPoint, Coordinate point, Coordinate nextPoint)
 {
     Polygon       = polygon;
     Point         = point;
     AdjacentLines = new ObstacleGraphLine[2] {
         new ObstacleGraphLine(point, previousPoint), new ObstacleGraphLine(point, nextPoint)
     };
 }
Exemple #2
0
 public bool Remove(ObstacleGraphLine line)
 {
     return(edges.Remove(line));
 }
Exemple #3
0
 public void Add(ObstacleGraphLine line)
 {
     edges.Add(line);
 }
Exemple #4
0
 public ObstacleGraphPoint(Coordinate point)
 {
     AdjacentLines = new ObstacleGraphLine[0];
     Polygon       = Polygon.Empty;
     Point         = point;
 }