Finds the grid cell containing location (x, y).
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public GridSurfaceCell FindCellAtXY( double x, double y )
VB
Public Function FindCellAtXY ( x As Double, y As Double ) As GridSurfaceCell
C++
public: GridSurfaceCell^ FindCellAtXY( double x, double y )
Parameters
- x Double
- y Double
Return Value
GridSurfaceCellExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when there is no cell at location (x, y), indicating that (x, y) is not on the surface. |