PolymeshTopology Class

A class representing topology of a polymesh.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBPolymeshTopology

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

The PolymeshTopology type exposes the following members.

Properties
 NameDescription
Public propertyDistributionOfNormals Indicates the distribution of normal vectors along the tessellated polymesh surface.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyNumberOfFacets The number of facet in the polymesh.
Public propertyNumberOfNormals The number of normals associated with the polymesh
Public propertyNumberOfPoints The number of points in the polymesh
Public propertyNumberOfUVs The number of UV coordinates available for the polymesh.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the PolymeshTopology
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetFacet Returns a definition of one facet
Public methodGetFacets Returns a definitions of all facets of the polymesh
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNormal Returns a normal vector at the given index
Public methodGetNormals Returns all normals assigned to the polymesh
Public methodGetPoint Returns one point at the given index.
Public methodGetPoints Returns all points of the polymesh.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetUV Returns one UV coordinate at the given index.
Public methodGetUVs Returns all UV coordinates assigned to the polymesh
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
Topology of a polymesh consists of a number of points and triangular facets formed by the points. Each facet is determined by three indices to the array of points. A polymesh may have UV coordinates assigned, and always has at least one normal associated. There may be more than one normal available for a non-planar polymesh; there may be as many normals as there are either facets or points in the polymesh. The DistributionOfNormals property indicates how normals are distributed along the polymesh.
See Also