twaver.gis.filter
Interface VoronoiElementFilter
- public interface VoronoiElementFilter
The interface is used to decide when calculating the coverage area of the network elements, if current element should
be considered in. TWaverGIS implements voronoi diagram. It can be used to display the area covered by a network
element. In an application, it is unnecessary that display all the network elements' coverage area. In TWaverGIS,
developers can set a special filter instance to GisNetworkAdapter, and tell TWaverGIS to display the coverage area of
the specified kind of elements.
Method Summary |
boolean |
isVoronoiElement(twaver.Element element)
Decides if the element's coverage area should be displayed. |
isVoronoiElement
public boolean isVoronoiElement(twaver.Element element)
- Decides if the element's coverage area should be displayed.
- Parameters:
element
- current traversal of the network elements.
- Returns:
- if should display the element's coverage area returns true; false otherwise.