TriangleInShellComponent Class

This class represents a triangle in a TriangulatedShellComponent object. The triangle is defined by its vertices, which are specified by their indices in the TriangulatedShellComponent's array of vertices.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBTriangleInShellComponent

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

The TriangleInShellComponent type exposes the following members.

Constructors
 NameDescription
Public methodTriangleInShellComponent Creates a copy of the given TriangleInShellComponent
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyVertexIndex0 Index of the triangle's first vertex in the TriangulatedShellComponent's array of vertices.
Public propertyVertexIndex1 Index of the triangle's second vertex in the TriangulatedShellComponent's array of vertices.
Public propertyVertexIndex2 Index of the triangle's third vertex in the TriangulatedShellComponent's array of vertices.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the TriangleInShellComponent
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
A TriangulatedShellComponent stores an array of TriangleInShellComponent objects representing the triangles of the triangulation. An external class is used because the API does not allow the use of a triple of integers. Note that a TriangleInShellComponent must only be used in the context of a single, fixed TriangulatedShellComponent.
See Also