DBinsertPoint |
Top Previous Next |
A point in the middle of a string insert. Every string element exists of any number of points which exist, among the rest, of a position and a connecting kind to the predecessor. As connections are possible for no (invisible) connection (P), just line (L), circle (R) and Spline (C). With DBinsertPoint another point is inserted in a string at any place. Parametre point (T_PPOINT) [IN] Behind this point the new point is inserted. If instead of the Handles for a point the trading of a string element is given, the new point is inserted before the first available point. pbuf [3] (STANDS IN) [IN] This is the position of the new point in the space. If is given as a format FORMAT_2D, only the first both values are used. linkage (int) [IN] With this value the kind of the connection with the preceding point is fixed. As possible values the LINK_L defined below, LINK_R, LINK_C and LINK_P are allowed here. The first point of a string must have the Linkagetyp LINK_P. This is not checked, but is simply accepted with the processing procedures. LINK_L connects with a distance, LINK_P does not connect, LINK_C connects with a Spline and LINK_R connects with a segment of a circle. symbol (int) [IN] The real point can be shown with a symbol obviously. If in symbol 0 are given, no symbol is used. Otherwise the symbol with the given number is taken from the symbolic table. first-class (int) [IN] Points are divided into point classes which can be used, e.g., for the search. Herewith this class is fixed. format (int) [IN] Possible values are FORMAT_2D and FORMAT_3D. Herewith it is fixed whether the point owns a height or not. In case of FORMAT_2D the 3rd co-ordinate from pbuf is ignored. Result (T_PPOINT) [OUT] If the base could be put on, a trading becomes on it zurückgeliefert, but ZERO. Declaration #include "database.h"
T_PPOINT DLLENTRY DBinsertPoint ( T_PPOINT point, STAND-IN pbuf [3], int linkage, int symbol, int first-class, int format ); Constants #define LINK_L 1 #define LINK_R 2 #define LINK_P 3 #define LINK_C 4 Related functions Marker element in the object generate. PPOINT_ELEMENT DLLENTRY BaddPointElement (
|