2024 Class
Changes 0
C

TriangleInShellComponent

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.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.TriangleInShellComponent
public class TriangleInShellComponent : IDisposable
Name Return Type Description
C TriangleInShellComponent(TriangleInShellComponent) None Creates a copy of the given TriangleInShellComponent
Name Return Type Description
M Dispose() None Releases all resources used by the
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P VertexIndex0 int Index of the triangle's first vertex in the TriangulatedShellComponent's array of vertices.
P VertexIndex1 int Index of the triangle's second vertex in the TriangulatedShellComponent's array of vertices.
P VertexIndex2 int Index of the triangle's third vertex in the TriangulatedShellComponent's array of vertices.