29.9 SDO_PC_PKG.HAS_PYRAMID
Format
SDO_PC_PKG.HAS_PYRAMID( inp IN SDO_PC ) RETURN NUMBER;
Description
Returns 1 if the specified point cloud object has a pyramid, or 0 is it does not have a pyramid (that is, if it has just a single level of blocks).
Parameters
- inp
-
Input point cloud object. (The SDO_PC data type is described in Point Cloud-Related Object Types.)
Usage Notes
Modeling Solids describes how to use point clouds to model solids.
Examples
The following example checks if the point cloud objects in column PC of table PCS have pyramids. The result shows that SDO_PC object in the only row in the table does not have a pyramid.
SELECT id, sdo_pc_pkg.has_pyramid(pc) "Has Pyramid" FROM pcs ORDER BY id; ID Has Pyramid ---------- ----------- 2 0
Parent topic: SDO_PC_PKG Package (Point Clouds)