Skip to content

PolymeshFacet

Public Class

A class representing one triangular piece - a facet - in a polymesh topology.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.PolymeshFacet

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class PolymeshFacet

The PolymeshFacet type exposes the following members.

Constructors

Name

Description


Public Method
PolymeshFacet

Creates a PolymeshFacet with the supplied vertices.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The first vertex of the facet


Public Property

The second vertex of the facet


Public Property

The third vertex of the facet


Methods

Name

Description


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
GetVertices

Returns the three vertices that define this facet


Public Method

Returns formatted string showing (V1, V2, V3) with values formatted as regular integers
(Overrides Object.ToString.)


Remarks

It can also be used to create TopographySurface. Each facet is defined by indices of three vertices of the polymesh.