Name

ST_IsNurbsCurve — Checks if a geometry is a NURBS curve.

Synopsis

boolean ST_IsNurbsCurve(geometry geom);

描述

Returns TRUE if the geometry is a NURBS curve, FALSE otherwise. This function can be used to test geometry types before applying NURBS-specific functions.

Returns NULL if the input is NULL.

Availability: 3.7.0

示例

This example checks whether a geometry is a NURBS curve.

SELECT ST_IsNurbsCurve('NURBSCURVE(2, (0 0, 5 10, 10 0))'::geometry);
t

This example tests a regular LineString.

SELECT ST_IsNurbsCurve('LINESTRING(0 0, 10 10)'::geometry);
f