DBselectObjectsByArea

Top  Previous  Next

Objects of a rectangular cutting select.

DBselectObjectsByArea selects all objects which touch the rectangle between (x1, y1) and (x2, y2). As operations one of four SELECT_* constants can be used. A choice after element types or DKY, is not possible among other things.

Parametre

root (PROOT) [IN]

The trading of the data bank.

sel (SELECT_FUNKTION) [IN]

One of the constants SELECT_*. Accordingly the base amount and the operation is chosen. SELECT_NEW selects from all selectable objects, SELECT_AND from the present selection amount. SELECT_OR adds to the present amount all appropriate objects which are selectable. SELECT_NOT removes all objects from the selection amount which lie in the rectangle.

x1 (STANDS IN) [IN]

y1 (STANDS IN) [IN]

Co-ordinates of the left lower corner of the selection rectangle.

x2 (STANDS IN) [IN]

y2 (STANDS IN) [IN]

Co-ordinates of the right upper corner of the selection rectangle.

Result

---

Declaration

#include "database.h"

 

void DLLENTRY DBselectObjectsByArea (

PROOT root,

SELECT_FUNKTION fkt,

STAND-IN x1,

STAND-IN y1,

STAND-IN x2,

STAND-IN y2

);

Related functions

DBselectObjectsByKeygroup

DBselectObjectsByKeylist

DBselectObjectsByObjectlist