This class represents a triangle or quadrilateral in a faceted structure.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.TriOrQuadFacet
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public class TriOrQuadFacet : IDisposable
The TriOrQuadFacet type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | Normal | A unit normal vector for this facet. |
![]() | NumberOfVertices | The number of vertices (3 for a triangle, 4 for a quadrilateral, 0 for an unset TriOrQuadFacet). |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the TriOrQuadFacet |
![]() | 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) |
![]() | GetVertexIndex | Returns the index of the specified vertex of this facet (as an index into the external array of vertices in the TriangulationInterface that was used to create the list of TriOrQuadFacets). |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |