PolymeshFacet Class

A class representing one triangular piece - a facet - in a polymesh topology.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBPolymeshFacet

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
 NameDescription
Public methodPolymeshFacet Creates a PolymeshFacet with the supplied vertices.
Top
Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyV1 The first vertex of the facet
Public propertyV2 The second vertex of the facet
Public propertyV3 The third vertex of the facet
Top
Methods
 NameDescription
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 methodGetVertices Returns the three vertices that define this facet
Public methodToString Returns formatted string showing (V1, V2, V3) with values formatted as regular integers
(Overrides ObjectToString)
Top
Remarks
It can also be used to create TopographySurface. Each facet is defined by indices of three vertices of the polymesh.
See Also