Finds the TinSurfaceTriangle which contains location (x, y).
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.1516
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
| Exception | Condition |
|---|
| 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