Share

TinSurface.FindTriangleAtXY Method

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



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

Syntax

C#

public TinSurfaceTriangle FindTriangleAtXY(
	double x,
	double y
)

VB

Public Function FindTriangleAtXY ( 
	x As Double,
	y As Double
) As TinSurfaceTriangle

C++

public:
TinSurfaceTriangle^ FindTriangleAtXY(
	double x, 
	double y
)

Parameters

x  Double
 
y  Double
 

Return Value

TinSurfaceTriangle

Exceptions

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

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.

See Also

Reference

Was this information helpful?