SFCGAL处理和关系函数 |
CG_Intersection
(geomA, geomB)
Computes the intersection of two geometries |
CG_Intersects
(geomA, geomB)
测试两个几何图形是否相交(它们至少有一个共同点) |
CG_3DIntersects
(geomA, geomB)
Tests if two 3D geometries intersect |
CG_Difference
(geomA, geomB)
Computes the geometric difference between two geometries |
ST_3DDifference
mm
3d
(geom1, geom2)
执行 3D 差异 |
CG_3DDifference
mm
3d
(geom1, geom2)
执行 3D 差异 |
CG_Distance
(geomA, geomB)
Computes the minimum distance between two geometries |
CG_3DDistance
(geomA, geomB)
Computes the minimum 3D distance between two geometries |
ST_3DConvexHull
3d
(geom1)
计算几何体的 3D 凸包。 |
CG_3DConvexHull
3d
(geom1)
计算几何体的 3D 凸包。 |
ST_3DIntersection
mm
3d
(geom1, geom2)
执行 3D 相交 |
CG_3DIntersection
mm
3d
(geom1, geom2)
执行 3D 相交 |
CG_Union
(geomA, geomB)
Computes the union of two geometries |
ST_3DUnion
mm
3d
执行 3D 联合。
- geom1, geom2
- g1field agg
|
CG_3DUnion
mm
3d
Perform 3D union using postgis_sfcgal.
- geom1, geom2
- g1field agg
|
ST_AlphaShape
(geom, alpha, allow_holes = false)
计算包围几何体的 Alpha 形状 |
CG_AlphaShape
(geom, alpha, allow_holes = false)
计算包围几何体的 Alpha 形状 |
CG_ApproxConvexPartition
cg1.5
(geom)
计算多边形几何图形的近似凸分割 |
ST_ApproximateMedialAxis
3d
(geom)
计算几何区域的近似中轴。 |
CG_ApproximateMedialAxis
3d
(geom)
计算几何区域的近似中轴。 |
ST_ConstrainedDelaunayTriangles
3d
(g1)
返回围绕给定输入几何体的约束 Delaunay 三角剖分。 |
CG_ConstrainedDelaunayTriangles
3d
(g1)
返回围绕给定输入几何体的约束 Delaunay 三角剖分。 |
ST_Extrude
3d
(geom, x, y, z)
将曲面挤出到相关体积 |
CG_Extrude
3d
(geom, x, y, z)
将曲面挤出到相关体积 |
CG_ExtrudeStraightSkeleton
cg1.5
(geom, roof_height, body_height = 0)
直线骨架外凸 |
CG_GreeneApproxConvexPartition
cg1.5
(geom)
计算多边形几何图形的近似凸分割 |
ST_MinkowskiSum
(geom1, geom2)
执行 Minkowski sum |
CG_MinkowskiSum
(geom1, geom2)
执行 Minkowski sum |
ST_OptimalAlphaShape
(geom, allow_holes = false, nb_components = 1)
使用“最佳”alpha 值计算包围几何体的 Alpha 形状。 |
CG_OptimalAlphaShape
(geom, allow_holes = false, nb_components = 1)
使用“最佳”alpha 值计算包围几何体的 Alpha 形状。 |
CG_OptimalConvexPartition
cg1.5
(geom)
计算多边形几何图形的最优凸分割 |
CG_StraightSkeleton
3d
(geom, use_distance_as_m = false)
从几何体计算直骨架 |
ST_StraightSkeleton
3d
(geom)
从几何体计算直骨架 |
ST_Tesselate
3d
(geom)
对多边形或多面体表面执行曲面细分,并以 TIN 或 TINS 集合的形式返回 |
CG_Tesselate
3d
(geom)
对多边形或多面体表面执行曲面细分,并以 TIN 或 TINS 集合的形式返回 |
CG_Triangulate
(geom)
Triangulates a polygonal geometry |
CG_Visibility
cg1.5
3d
计算一个从点或多边形几何中的线段生成的可见性多边形
- polygon, point
- polygon, pointA, pointB
|
CG_YMonotonePartition
cg1.5
(geom)
计算多边形几何的 y 单调分割 |
CG_StraightSkeletonPartition
1
(geom, auto_orientation)
Computes the straight skeleton partition of a polygon. |
CG_Buffer3D
1
3d
(geom, radius, segments, buffer_type)
Computes a 3D buffer around a geometry. |
CG_Rotate
1
(geom, angle)
Rotates a geometry by a given angle around the origin (0,0). |
CG_Rotate2D
1
(geom, angle, cx, cy)
Rotates a geometry by a given angle around a specified point in 2D. |
CG_Rotate3D
1
3d
(geom, angle, ax, ay, az)
Rotates a geometry in 3D space around an axis vector. |
CG_RotateX
1
3d
(geom, angle)
Rotates a geometry around the X-axis by a given angle. |
CG_RotateY
1
3d
(geom, angle)
Rotates a geometry around the Y-axis by a given angle. |
CG_RotateZ
1
3d
(geom, angle)
Rotates a geometry around the Z-axis by a given angle. |
CG_Scale
1
(geom, factor)
Scales a geometry uniformly in all dimensions by a given factor. |
CG_Scale3D
1
3d
(geom, factorX, factorY, factorZ)
Scales a geometry by separate factors along X, Y, and Z axes. |
CG_Scale3DAroundCenter
1
3d
(geom, factorX, factorY, factorZ, centerX, centerY, centerZ)
Scales a geometry in 3D space around a specified center point. |
CG_Translate2D
1
(geom, deltaX, deltaY)
Translates (moves) a geometry by given offsets in 2D space. |
CG_Translate3D
1
3d
(geom, deltaX, deltaY, deltaZ)
Translates (moves) a geometry by given offsets in 3D space. |