This topic describes the ST_NodeID function. This function returns the ID of the specified node.

Syntax

Integer ST_NodeID(SFMesh sfmeshObject, integer nodeIndex);

Parameters

ParameterDescription
sfmeshObjectThe sfmesh object.
nodeIndexThe index number of the node. The value starts from 0.

Description

This function returns the ID of the specified node.

Examples

SELECT ST_NodeID(ST_SetNodeID(the_mesh, 0, 100), 0)
FROM t_table;

-------------------
100