Namespace:
Autodesk.Revit.DB
TriangleInShellComponent
Class
Description:
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.
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.
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.
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.
TriangleInShellComponent Class Members:
| Name | Description | Inherited From |
|---|---|---|
| TriangleInShellComponent | Creates a copy of the given TriangleInShellComponent |
| Name | Description | Inherited From |
|---|---|---|
| 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. |
| Name | Description | Inherited From |
|---|---|---|
| Dispose | Releases all resources used by the TriangleInShellComponent | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |