All Products
Search
Document Center

PolarDB:GridCost

Last Updated:Mar 28, 2026

GridCost is a composite data type that pairs a group of grid cells with a path cost. It represents the path cost for a set of grids in 3D mesh pathfinding.

Fields

FieldData typeDescription
Gridsgeomgrid[]An array of grid cells.
CostSMALLINTThe path cost assigned to the grid cells in Grids.

Use cases

  • 3D mesh pathfinding: Assign cost values to groups of grids to compute optimal paths through a three-dimensional spatial mesh.