4.34 SDO_TOPO_MAP.GET_NODE_FACE_STAR
Format
SDO_TOPO_MAP.GET_NODE_FACE_STAR( topology IN VARCHAR2, topo_map IN VARCHAR2, node_id IN NUMBER ) RETURN SDO_NUMBER_ARRAY;
Description
Returns an SDO_NUMBER_ARRAY object with the face ID numbers, in clockwise order, of the faces that are connected to the specified node.
Parameters
- topology
-
Name of the topology that contains the node, or a null value, as explained in Using GET_xxx Topology Functions. Must not exceed 20 characters.
- topo_map
-
Name of the TopoMap object, or a null value, as explained in Using GET_xxx Topology Functions. (TopoMap objects are explained in TopoMap Objects.)
- node_id
-
Node ID value of the node.
Usage Notes
The node face star of a node is the faces that are connected to the node. One face is returned for each edge connected to the node. For an isolated node, the containing face is returned. A face may appear more than once in the list.
The topology
or topo_map
parameter should specify a valid name, as explained in Using GET_xxx Topology Functions.
This function is equivalent to using the getNodeFaceStar
method of the TopoMap
class of the client-side Java API (described in Topology Data Model Java Interface).
To return the node star of a node, use the SDO_TOPO_MAP.GET_NODE_STAR function.
Examples
The following example returns the node face star of the node whose node ID value is 14. (The example refers to definitions and data from Topology Built from Topology Data.)
SELECT SDO_TOPO_MAP.GET_NODE_FACE_STAR(null, 'CITY_DATA_TOPOMAP', 14) FROM DUAL; SDO_TOPO_MAP.GET_NODE_FACE_STAR(NULL,'CITY_DATA_TOPOMAP',14) -------------------------------------------------------------------------------- SDO_NUMBER_ARRAY(4, 7, 6, 3)
Parent topic: SDO_TOPO_MAP Package Subprograms