ST_Type

Updated at:

Returns the type of an object, which is either sfmesh or meshgeom.

Syntax

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

Parameters

Parameter Name

Description

sfmeshObject

The sfmesh object.

meshgeom

The 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