Returns the ID of the specified node in an SFMesh object.
Syntax
integer ST_NodeID(SFMesh sfmeshObject, integer nodeIndex);Parameters
| Parameter | Description |
|---|---|
sfmeshObject | The SFMesh object. |
nodeIndex | The index of the node. Indexing starts at 0. |
Return value
Returns the node ID as an integer.
Example
SELECT ST_NodeID(ST_SetNodeID(the_mesh, 0, 100), 0)
FROM t_table;
-------------------
100