Miscelaneous Functions
TdVSetGeomDataPtr
Name
TdVSetGeomDataPtr - Set the pointer to the user
provided geometrical information in an entry of vertex structure
CSpecification
TdVSetGeomDataPtr (int vertex, unsigned size, char *ptr)
Parameters
vertex |
specifies the vertex identifier |
size |
specifies the size of the data structure
|
ptr |
specifies the address of the data structure
|
Description
This function permits to associate user defined information to vertex.
For example, coordinates (geometric information) can be set to
a vertex entity (topological information).
Notes
TDM allocates internally a data structure for the
provided information and makes a copy of this information.
This structure is automatically freed when the vertex is
removed.
Errors
O (zero) is returned if no error occurs.
See Also
TdESetGeomDataPtr
Name
TdVSetGeomDataPtr - Set the pointer to the user
provided geometrical information in an entry of edge structure
CSpecification
TdVSetGeomDataPtr (int edge, unsigned size, char *ptr)
Parameters
edge |
specifies the edge identifier |
size |
specifies the size of the data structure
|
ptr |
specifies the address of the data structure
|
Description
This function permits to associate user defined information to edge.
For example, straight line or curve equation (geometric information) can
be set to an edge entity(topological information).
Notes
TDM allocates internally a data structure for the
provided information and makes a copy of this information.
This structure is automatically freed when the edge is
removed.
Errors
O (zero) is returned if no error occurs.
See Also
TdFSetGeomDataPtr
Name
TdFSetGeomDataPtr - Set the pointer to the user
provided geometrical information in an entry of face structure
CSpecification
TdFSetGeomDataPtr (int face, unsigned size, char *ptr)
Parameters
face |
specifies the face identifier |
size |
specifies the size of the data structure
|
ptr |
specifies the address of the data structure
|
Description
This function permits to associate user defined information to face.
For example, coordinates (geometric information) can be set to
a face entity (topological information).
Notes
TDM allocates internally a data structure for the
provided information and makes a copy of this information.
This structure is automatically freed when the face is
removed.
Errors
O (zero) is returned if no error occurs.
See Also
Last Edited: Thu Sep 4 08:46:11 BRA 1997
Ting