MapLink Pro 11.1.2.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Loading...
Searching...
No Matches
TSLPolyAggSelector Class Referenceabstract

Detailed Description

This abstract class defines the interface for the selector object that is used when aggregating polygons.

To use, simply derive your own selector object and implement the select() method as appropriate to your needs. See the documentation for the select() method for more information.

Public Member Functions

virtual bool select (const TSLPolygon *poly, int &setID)=0
 
virtual ~TSLPolyAggSelector ()=0
 

Constructor & Destructor Documentation

◆ ~TSLPolyAggSelector()

TSLPolyAggSelector::~TSLPolyAggSelector ( )
inlinepure virtual

Virtual destructor.

Member Function Documentation

◆ select()

virtual bool TSLPolyAggSelector::select ( const TSLPolygon * poly,
int & setID )
pure virtual

This abstract method defines the interface for polygon selection. Override this method in your derived class to determine how polygons are aggregated together.

Parameters
polythe polygon being considered for selection.
setIDshould return the logical polygon set number to insert this polygon into.

Should return true if the polygon is to be considered for processing, in which case the setID will be used to determine which logical set of polygons poly should be added to and aggregated with, or false if the polygon should be ignored.