DBmodifyPointSettings

Top  Previous  Next

Change of a point.

With this routine the qualities of a point can be changed as a part of a string. The trading must be confessed by the point. Then it can be changed the co-ordinate, the connecting type, the point class and the symbolic string. Each of these changes is marked with constants in modifyFlags. If all data should be changed, the constant POINT_MODIFY_ALL can be also used. Otherwise the constants of the desired changes geodert must become. The data to be changed stand in the structure settings. Only the data which are necessary for the desired changes must be valid.

Parametre

point (T_PPOINT) [IN]

This is the trading of the point which should be changed. Because no Handles outwardly are given by the points of a point element and a text, these can be changed only about the suitable procedures for point elements or texts.

modifyFlags (int) [IN]

Every quality to be changed will represent from 1 bit in this variable. If the bit is put, the data of this quality from settings are taken over in the data bank.

settings (POINT_SETTINGS *) [IN]

This pointer points at a structure on which all values to be changed are put down. The structure is identical with the structure which is filled by DBreturnPointSettings.

grade (int) [IN]

aloofly, must be 1. If further information is introduced, these become grades distinguished.

Result

---

Constants

#define POINT_MODIFY_KOORDINATE 1

#define POINT_MODIFY_LINKAGE 2

#define POINT_MODIFY_KLASSE 4

#define POINT_MODIFY_SYMBOL 8

#define POINT_MODIFY_FLAGS 16

#define POINT_MODIFY_ALL 31

Declaration

#include "database.h"

 

void DLLENTRY DBmodifyPointSettings (

T_PPOINT point,

int modifyFlags,

POINT_SETTINGS * settings,

int grades

);

Related functions

DBmodifyObjectSettings

DBmodifyPlanSettings

DBmodifyPointElementSettings

DBmodifyRasterSettings

DBmodifySegmentSettings

DBmodifyStringSettings

DBmodifySymbolSettings

DBmodifyTextSettings

DBmodifyTextString