TriOrQuadFacet Class

This class represents a triangle or quadrilateral in a faceted structure.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBTriOrQuadFacet

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class TriOrQuadFacet : IDisposable

The TriOrQuadFacet type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyNormal A unit normal vector for this facet.
Public propertyNumberOfVertices The number of vertices (3 for a triangle, 4 for a quadrilateral, 0 for an unset TriOrQuadFacet).
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the TriOrQuadFacet
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVertexIndex 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).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This class defines a triangle or quadrilateral with reference to an external triangulation structure. The vertices of this TriOrQuadFacet are indices into the triangulation structure's array of vertices.
See Also