Gets whether the triangle is visible.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| C# |
|---|
public bool IsVisible { get; } |
| Visual Basic |
|---|
Public ReadOnly Property IsVisible As Boolean Get |
| Visual C++ |
|---|
public: property bool IsVisible { bool get (); } |
Remarks
Invisible triangles are the triangles which are inside the hole boundary.
Examples
This example shows how to get triangles including invisible ones and then handle them respectively
CopyC#
1//TinSurface tinSurface 2var allTriangles = tinSurface.GetTriangles(true);//get all triangles including invisible ones. 3foreach(var triangle in allTriangles) 4{ 5 if (triangle.IsVisible) 6 { 7 //handle visible triangles 8 } 9 else 10 { 11 //handle invisible triangles 12 } 13}