TriangulatedShellComponent
Description:
This class represents a triangulated boundary component of a solid or a triangulated connected component of a shell.
This class represents a triangulated boundary component of a solid or a triangulated connected component of a shell.
Remarks:
The triangulation is "topologically connected" in the following sense: if two triangles share an edge geometrically, then they share a single edge topologically (i.e., they share two vertices defining the geometrically shared edge).
The triangulation is "topologically connected" in the following sense: if two triangles share an edge geometrically, then they share a single edge topologically (i.e., they share two vertices defining the geometrically shared edge).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.TriangulatedShellComponent
System.Object
Autodesk.Revit.DB.TriangulatedShellComponent
public class TriangulatedShellComponent : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Clear() | None | Empties the contents of this TriangulatedShellComponent. |
| Dispose() | None | Releases all resources used by the |
| GetTriangle(Int32) | The triangle. | Returns the triangle corresponding to the given index. |
| GetVertex(Int32) | XYZ | Returns the vertex with a given index. |
| Name | Return Type | Description |
|---|---|---|
| IsClosed | bool | True if and only if the triangulation represents a topologically closed shell (i.e., each edge is shared by two triangles). |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| TriangleCount | int | The number of triangles in the triangulation. |
| VertexCount | int | The number of vertices in the triangulation. |