제목

CG_Intersection — Computes the intersection of two geometries

요약

geometry CG_Intersection( geometry geomA , geometry geomB );

설명

Computes the intersection of two geometries.

Performed by the SFCGAL module

[참고]

NOTE: this function returns a geometry representing the intersection.

Availability: 3.5.0

This method needs SFCGAL backend.

도형 예시

Code
SELECT CG_Intersection('LINESTRING(0 0,5 5)', 'LINESTRING(5 0,0 5)');
래스터 출력
POINT(2.5 2.5)
Figure
Geometry figure for visual-cg-intersection-01