TriOrQuadFacet
Description:
This class represents a triangle or quadrilateral in a faceted structure.
This class represents a triangle or quadrilateral in a faceted structure.
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.
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.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.TriOrQuadFacet
System.Object
Autodesk.Revit.DB.TriOrQuadFacet
public class TriOrQuadFacet : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetVertexIndex(Int32) | int | 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). |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| Normal | XYZ | A unit normal vector for this facet. |
| NumberOfVertices | int | The number of vertices (3 for a triangle, 4 for a quadrilateral, 0 for an unset TriOrQuadFacet). |