Share

GridSurface.FindEdgeAtXY Method

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



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

Syntax

C#

public GridSurfaceEdge FindEdgeAtXY(
	double x,
	double y
)

VB

Public Function FindEdgeAtXY ( 
	x As Double,
	y As Double
) As GridSurfaceEdge

C++

public:
GridSurfaceEdge^ FindEdgeAtXY(
	double x, 
	double y
)

Parameters

x  Double
 
y  Double
 

Return Value

GridSurfaceEdge

Exceptions

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

Remarks

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

See Also

Reference

Was this information helpful?