4.41 SDO_TOPO_MAP.MOVE_ISOLATED_NODE
Format
SDO_TOPO_MAP.MOVE_ISOLATED_NODE( topology IN VARCHAR2, node_id IN NUMBER, point IN SDO_GEOMETRY);
or
SDO_TOPO_MAP.MOVE_ISOLATED_NODE( topology IN VARCHAR2, node_id IN NUMBER, x IN NUMBER, y IN NUMBER);
Description
Moves an isolated (island) node.
Parameters
- topology
-
Name of the topology in which to move the node, or null if you are using an updatable TopoMap object (see Specifying the Editing Approach with the Topology Parameter). Must not exceed 20 characters.
- node_id
-
Node ID of the node to be moved.
- point
-
SDO_GEOMETRY object (point geometry) representing the location to which the isolated node is to be moved.
- x
-
X-axis value of the point representing the location to which the isolated node is to be moved.
- y
-
Y-axis value of the point representing the location to which the isolated node is to be moved.
Usage Notes
For information about moving nodes, see Moving a Node.
The node must be moved to a location inside the face in which it is currently located. Otherwise, you must delete the node and re-create it.
This procedure is equivalent to using the moveIsolatedNode
method of the TopoMap
class of the client-side Java API (described in Topology Data Model Java Interface).
Examples
The following example adds an isolated node and then moves it. (The example refers to definitions and data from Topology Built from Topology Data.)
CALL SDO_TOPO_MAP.ADD_ISOLATED_NODE(null, 2, SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(22,38,NULL), NULL, NULL)) INTO :res_number; -- Move the just-added isolated node (from 20,38 to 22,39). CALL SDO_TOPO_MAP.MOVE_ISOLATED_NODE( null, :res_number, SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(22,39,NULL), NULL, NULL));
Parent topic: SDO_TOPO_MAP Package Subprograms