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
System.ObjectAutodesk.Revit.DB.TriangleInShellComponent
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class TriangleInShellComponent : IDisposable
The TriangleInShellComponent type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| TriangleInShellComponent | Creates a copy of the given TriangleInShellComponent |
Properties
| Name | Description | |
|---|---|---|
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| VertexIndex0 | Index of the triangle's first vertex in the TriangulatedShellComponent's array of vertices. | |
| VertexIndex1 | Index of the triangle's second vertex in the TriangulatedShellComponent's array of vertices. | |
| VertexIndex2 | Index of the triangle's third vertex in the TriangulatedShellComponent's array of vertices. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the TriangleInShellComponent | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
