Finds out the closest GridSurfaceEdge near location (x, y).
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public GridSurfaceEdge FindEdgeAtXY( double x, double y )
Visual Basic
Public Function FindEdgeAtXY ( _ x As Double, _ y As Double _ ) As GridSurfaceEdge
Visual C++
public: GridSurfaceEdge^ FindEdgeAtXY( double x, double y )
Parameters
- x
- Type: System.Double
- y
- Type: System.Double
Remarks
When the method can't find an edge at location (x, y), it means that (x, y) is not on the surface.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when there is no edge at location (x, y), indicating that (x, y) is not on the surface. |