TriangulatedShellComponent
This class represents a triangulated boundary component of a solid or a triangulated connected component of a shell.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.TriangulatedShellComponent
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class TriangulatedShellComponent : IDisposableThe TriangulatedShellComponent type exposes the following members.
Properties
Name
Description
Public Property
IsClosed
True if and only if the triangulation represents a topologically closed shell (i.e., each edge is shared by two triangles).
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
TriangleCount
The number of triangles in the triangulation.
Public Property
VertexCount
The number of vertices in the triangulation.
Methods
Name
Description
Public Method
Clear
Empties the contents of this TriangulatedShellComponent.
Public Method
Dispose
Releases all resources used by the TriangulatedShellComponent
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetTriangle
Returns the triangle corresponding to the given index.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
GetVertex
Returns the vertex with a given index.
Public Method
GetVertices
Returns the vertices of the triangulation.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
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).