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

-- Check if geometry is a NURBS curve
SELECT ST_IsNurbsCurve('NURBSCURVE(2, (0 0, 5 10, 10 0))'::geometry);
-- Result: true

-- Test a regular linestring
SELECT ST_IsNurbsCurve('LINESTRING(0 0, 10 10)'::geometry);
-- Result: false