GridSurfaceFindCellAtXY Method

Finds the grid cell containing location (x, y).

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public GridSurfaceCell FindCellAtXY(
	double x,
	double y
)

Parameters

x  Double
 
y  Double
 

Return Value

GridSurfaceCell
Exceptions
ExceptionCondition
ArgumentException Thrown when there is no cell at location (x, y), indicating that (x, y) is not on the surface.
Remarks
When the method can't find a cell at location (x, y), it means that (x, y) is not on the surface.
See Also