この関数は、pcpatch オブジェクトの境界ボックスの対角線の WKB (Well-Known Binary) 値を返します。

構文

bytea ST_boundingDiagonalAsBinary(pcpatch pc);

パラメーター

パラメーター  説明 
pc pcpatch オブジェクト

説明

境界ボックスは 2D ジオメトリオブジェクトです。

SELECT ST_BoundingDiagonalAsBinary( ST_Patch(ARRAY[ ST_MakePoint(1, ARRAY[0.,0.,0.,10.]), ST_MakePoint(1, ARRAY[1.,1.,1.,10.]), ST_MakePoint(1, ARRAY[10.,10.,10.,10.])]));
--------------------------------------------------------
\x01020000a0e610000002000000000000000000000000000000000000000000000000000000000000000000244000000000000024400000000000002440