Namespace:
Autodesk.Revit.DB
TriangulationInterfaceForTriangulatedSolidOrShell
Class
Description:
This class is used to call FacetingUtils::convertTrianglesToQuads with a triangulation defined by a TriangulatedSolidOrShell.
This class is used to call FacetingUtils::convertTrianglesToQuads with a triangulation defined by a TriangulatedSolidOrShell.
Remarks:
The vertex and triangle indices used by this class treat the triangulated solid or shell as if all the vertices and triangles of the different shell components were collected into single sets of vertices and triangles, respectively. For example, if a solid has two shell components and the first has ten vertices while the second has five vertices, vertexIndex 6 refers to vertex[6] of the first shell component, and vertexIndex 12 refers to vertex[2] of the second shell component. You can use the class TriangulationInterfaceForTriangulatedShellComponent to get a faceting of an individual shell component.
The vertex and triangle indices used by this class treat the triangulated solid or shell as if all the vertices and triangles of the different shell components were collected into single sets of vertices and triangles, respectively. For example, if a solid has two shell components and the first has ten vertices while the second has five vertices, vertexIndex 6 refers to vertex[6] of the first shell component, and vertexIndex 12 refers to vertex[2] of the second shell component. You can use the class TriangulationInterfaceForTriangulatedShellComponent to get a faceting of an individual shell component.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.TriangulationInterface
Autodesk.Revit.DB.TriangulationInterfaceForTriangulatedSolidOrShell
System.Object
Autodesk.Revit.DB.TriangulationInterface
Autodesk.Revit.DB.TriangulationInterfaceForTriangulatedSolidOrShell
TriangulationInterfaceForTriangulatedSolidOrShell Class Members:
Name | Description | Inherited From |
---|---|---|
TriangulationInterfaceForTriangulatedSolidOrShell | Construct an interface object for a TriangulatedSolidOrShell. |
Name | Description | Inherited From |
---|---|---|
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. (Inherited from TriangulationInterface ) | TriangulationInterface |
Name | Description | Inherited From |
---|---|---|
Dispose | (Inherited from TriangulationInterface ) | TriangulationInterface |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |