Share

GridSurface.FindVertexAtXY Method

Finds out the closest GridSurfaceVertex near location (x, y).



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

Syntax

C#

public GridSurfaceVertex FindVertexAtXY(
	double x,
	double y
)

VB

Public Function FindVertexAtXY ( 
	x As Double,
	y As Double
) As GridSurfaceVertex

C++

public:
GridSurfaceVertex^ FindVertexAtXY(
	double x, 
	double y
)

Parameters

x  Double
 
y  Double
 

Return Value

GridSurfaceVertex

Exceptions

ExceptionCondition
ArgumentException Thrown when there is no vertex at location (x, y), indicating that (x, y) is not on the surface.

Remarks

When the method can't find a vertex at location (x, y), it means that (x, y) is not on the surface.

See Also

Reference

Was this information helpful?