DBmodifyPointElementSettings

Top  Previous  Next

Change of a point element.

With this routine the qualities of a point can be changed. 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

pointElem (PPOINT_ELEMENT) [IN]

Act on the point element to be changed.

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 (POINTELEMENT_SETTINGS *) [IN / OUT]

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

(T_ERROR) [OUT]

If the change could be carried out successfully, becomes as a result ERROR_OK zurückgeliefert, but a constant from error.h

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBmodifyPointElementSettings (

PPOINT_ELEMENT pointElem,

int modifyFlags,

POINTELEMENT_SETTINGS * settings,

int grades

);

Constants

POINT_MODIFY_KOORDINATE 1

POINT_MODIFY_LINKAGE 2

POINT_MODIFY_KLASSE 4

POINT_MODIFY_SYMBOL 8

POINT_MODIFY_FLAGS 16

POINT_MODIFY_ALL 31

Related functions

DBmodifyObjectSettings

DBmodifyPlanSettings

DBmodifyPointSettings

DBmodifyRasterSettings

DBmodifySegmentSettings

DBmodifyStringSettings

DBmodifySymbolSettings

DBmodifyTextSettings

DBmodifyTextString