Aimsun Next Scripting  22
Public Member Functions | List of all members
GKSpatialIndex Class Reference

Public Member Functions

 GKSpatialIndex ()
 
 ~GKSpatialIndex ()
 
void add (const GKGeoObject *geoObj)
 
QVector< int > query2 (const GKBBox &bbox) const
 

Constructor & Destructor Documentation

◆ GKSpatialIndex()

GKSpatialIndex::GKSpatialIndex ( )

◆ ~GKSpatialIndex()

GKSpatialIndex::~GKSpatialIndex ( )

Member Function Documentation

◆ add()

void GKSpatialIndex::add ( const GKGeoObject geoObj)

Adds a given geoobject to the list of objects to take into account

◆ query2()

QVector< int > GKSpatialIndex::query2 ( const GKBBox bbox) const

Returns the objects (from the list of added objects) that are inside the specified bbox

© Aimsun SLU
Aimsun ®