POLYHEDRALSURFACE
are nothing more than polyhedral surfaces, usually in three dimensions, which are composed of vertices, edges, facets and a relation of incidence on them.
SELECT ST_AsEWKT(ST_GeometryN(p_geom,3)) As geom_ewkt FROM (SELECT ST_GeomFromEWKT('POLYHEDRALSURFACE(((0 0 0, 0 0 1, 0 1 1, 0 1 0, 0 0 0)),((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)),((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),((1 1 0, 1 1 1, 1 0 1, 1 0 0, 1 1 0)),((0 1 0, 0 1 1, 1 1 1, 1 1 0, 0 1 0)),((0 0 1, 1 0 1, 1 1 1, 0 1 1, 0 0 1))
)') AS p_geom ) AS a;geom_ewkt
POLYGON((0 0 0,1 0 0,1 0 1,0 0 1,0 0 0))
or
SELECT ST_AsEWKT(ST_GeometryN(geom,2)) as wkt FROM (SELECT ST_GeomFromEWKT('TIN (((0 0 0,0 0 1,0 1 0,0 0 0)), ((0 0 0,0 1 0,1 1 0,0 0 0)))') AS geom) AS g; wkt
TRIANGLE((0 0 0,0 1 0,1 1 0,0 0 0))
Already ST_CircularString
is a subtype of ST_Curve
using circular line segments between control points.