ST_Type

更新时间:
复制 MD 格式

Returns the type of an sfmesh or meshgeom object.

Syntax

cstring ST_Type(sfmesh sfmeshObject);
cstring ST_Type(meshgeom meshgeom);

Parameters

Parameter nameDescription
sfmeshObjectAn sfmesh object.
meshgeomA meshgeom object.

Description

Returns the type of an sfmesh or meshgeom object. The function returns `raw` for an actual object and `reference` for a reference object.

Examples

  • Example 1:
    SELECT ST_Type(the_sfmesh)
    FROM t_sfmesh
    
    -------------------
    raw
  • Example 2:
    SELECT ST_Type(the_meshgeom)
    FROM t_meshgeom
    
    -------------------
    reference