DBgradisIdFromPoint

Top  Previous  Next

Gradis-ID of a point determine.

A trading is given for a point. For this point a gradis compatible ID is generated. This exists of two 16 bits of upright figures. The first number identifies the element in which the point is, the second one the point itself. Two points from the same element always have the same identification for the element. Because it concerns 16-bit figures, the number of the Handles for which such an ID can be generated is limited. The gradis compatible IDs will award only with her use and are by the following calls of the same data bank not the same. The ID 0 will not award. If one of both 16-bit figures 0 is, the number of the possible IDs is exhausted. With points one of two 16-bit figures shows the running number of the point within the element. Therefore, the IDs of points change if new points are inserted in a point result or those are extinguished.

Parametre

point (T_PPOINT) [IN]

Act of the point to which a Gradis-ID is required.

Result

(GRADISPOINTID) [OUT]

Is the Gradis-ID generated to this point. This is a record with the fields elemID and pointID. If is one of these fields 0, could be awarded no other ID. The Gradis-ID identifies the point unambiguously.

Declaration

#include "database.h"

 

GRADISPOINTID DLLENTRY DBgradisIdFromPoint (

T_PPOINT point

);

Related procedures

DBgradisIdFromSegment

DBgradisIdFromObject

DBgradisIdFromElement

DBsegmentFromGradisId

DBobjectFromGradisId

DBpointFromGradisId