TriangulatedShellComponent Class

This class represents a triangulated boundary component of a solid or a triangulated connected component of a shell.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBTriangulatedShellComponent

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class TriangulatedShellComponent : IDisposable

The TriangulatedShellComponent type exposes the following members.

Properties
 NameDescription
Public propertyIsClosed True if and only if the triangulation represents a topologically closed shell (i.e., each edge is shared by two triangles).
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyTriangleCount The number of triangles in the triangulation.
Public propertyVertexCount The number of vertices in the triangulation.
Top
Methods
 NameDescription
Public methodClear Empties the contents of this TriangulatedShellComponent.
Public methodDisposeReleases all resources used by the TriangulatedShellComponent
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTriangle Returns the triangle corresponding to the given index.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVertex Returns the vertex with a given index.
Public methodGetVertices Returns the vertices of the triangulation.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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).
See Also