2023 Class
Changes 3
C

TriangulatedShellComponent

Description:
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).
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.TriangulatedShellComponent
public class TriangulatedShellComponent : IDisposable
Name Return Type Description
M Clear() None Empties the contents of this TriangulatedShellComponent.
M Dispose() None Releases all resources used by the
M GetTriangle(Int32) The triangle. Returns the triangle corresponding to the given index.
M GetVertex(Int32) XYZ Returns the vertex with a given index.
M GetVertices() IList<XYZ> Returns the vertices of the triangulation.
Name Return Type Description
P IsClosed bool True if and only if the triangulation represents a topologically closed shell (i.e., each edge is shared by two triangles).
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P TriangleCount int The number of triangles in the triangulation.
P VertexCount int The number of vertices in the triangulation.