TinSurfaceFindTriangleAtXY Method

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
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