AddPoint Method

Adds a point to the GridSurface.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0

Syntax

C#

public SurfaceOperationAddGridPoint AddPoint(
	GridLocation location,
	double elevation
)

Visual Basic

Public Function AddPoint ( _
	location As GridLocation, _
	elevation As Double _
) As SurfaceOperationAddGridPoint

Visual C++

public:
SurfaceOperationAddGridPoint^ AddPoint(
	GridLocation location, 
	double elevation
)

Parameters

location
Type: Autodesk.Civil.DatabaseServices.GridLocation
The location where the grid point will be added.
elevation
Type: System.Double
The elevation of the grid point to be added.

Exceptions

ExceptionCondition
Autodesk.Civil.SurfaceException Thrown when this operation fails, for example because a point has already been defined in the same column and row.

See Also