Skip to content

PolymeshTopology

Public Class

A class representing topology of a polymesh.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.PolymeshTopology

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

Name

Description


Public Property

Indicates the distribution of normal vectors along the tessellated polymesh surface.


Public Property
IsValidObject

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


Public Property

The number of facet in the polymesh.


Public Property
NumberOfNormals

The number of normals associated with the polymesh


Public Property

The number of points in the polymesh


Public Property
NumberOfUVs

The number of UV coordinates available for the polymesh.


Methods

Name

Description


Public Method

Releases all resources used by the PolymeshTopology


Public Method

Equals

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


Public Method

Returns a definition of one facet


Public Method

Returns a definitions of all facets of the polymesh


Public Method

GetHashCode

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


Public Method

Returns a normal vector at the given index


Public Method

Returns all normals assigned to the polymesh


Public Method

Returns one point at the given index.


Public Method

Returns all points of the polymesh.


Public Method

GetType

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


Public Method

Returns one UV coordinate at the given index.


Public Method

Returns all UV coordinates assigned to the polymesh


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


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.