Finds the TinSurfaceTriangle which contains location (x, y).

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

Syntax

C#
public TinSurfaceTriangle FindTriangleAtXY(
	double x,
	double y
)
Visual Basic
Public Function FindTriangleAtXY ( _
	x As Double, _
	y As Double _
) As TinSurfaceTriangle
Visual C++
public:
TinSurfaceTriangle^ FindTriangleAtXY(
	double x, 
	double y
)

Parameters

x
Type: System..::..Double
y
Type: System..::..Double

Remarks

When the method can't find a triangle at location (x, y), it means (x, y) is not on the surface. You can use the IdentifyFeatureTypeAtXY property to determine whether the location (x, y) is on surface.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the method can't find a triangle at location (x, y).

See Also