제목

ST_IsNurbsCurve — Checks if a geometry is a NURBS curve.

요약

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.

Code
SELECT ST_IsNurbsCurve('NURBSCURVE(2, (0 0, 5 10, 10 0))'::geometry);
래스터 출력
t
Figure
Geometry figure for visual-st-isnurbscurve-01

This example tests a regular LineString.

Code
SELECT ST_IsNurbsCurve('LINESTRING(0 0,10 10)'::geometry);
래스터 출력
f
Figure
Geometry figure for visual-st-isnurbscurve-02