This topic describes the ST_Type function. This function returns the type of a sfmesh object or meshgeom object.

Syntax

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

Parameters

ParameterDescription
sfmeshObjectThe sfmesh object.
meshgeomThe meshgeom object.

Description

The function returns the type of a sfmesh object or meshgeom object. If the object is an actual object, raw is returned. If the object is a reference object, reference is returned.

Examples

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