A triangle primitive consisting of three indices.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.DirectContext3D.IndexPrimitive
Autodesk.Revit.DB.DirectContext3D.IndexTriangle
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class IndexTriangle : IndexPrimitive
The IndexTriangle type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | IndexTriangle | Constructs the triangle primitive. |
Properties
Name | Description | |
---|---|---|
![]() | Index0 | The index of the triangle's first vertex. |
![]() | Index1 | The index of the triangle's second vertex. |
![]() | Index2 | The index of the triangle's third vertex. |
![]() | IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from IndexPrimitive) |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | (Inherited from IndexPrimitive) |
![]() | 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) |
![]() ![]() | GetSizeInShortInts | Gets the amount of storage that the primitive takes up in a buffer, measured in short integers. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |