TGeoBarrier

Top  Previous  Next

Key element in defining barriers. It is a sequence of points, which can be either a line or a polygon. If the first item = last item, then it is a polygon, but the algorithm do not care.

 

You only need to fill in the points part, MBR (Minimum-Bounding-Rectangle) is calculated automatically.

 

The calculations are faster, the fewer points you use to describe a barrier.

 

TGeoBarrier = record

 points: TFloatPointArray;

 MBR: TFloatRect;

end;