2020 Class
Changes 0
C

PolymeshTopology

Description:
A class representing topology of a polymesh.
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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.PolymeshTopology
public class PolymeshTopology : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetFacet(Int32) PolymeshFacet Returns a definition of one facet
M GetFacets() IList<PolymeshFacet> Returns a definitions of all facets of the polymesh
M GetNormal(Int32) XYZ Returns a normal vector at the given index
M GetNormals() IList<XYZ> Returns all normals assigned to the polymesh
M GetPoint(Int32) XYZ Returns one point at the given index.
M GetPoints() IList<XYZ> Returns all points of the polymesh.
M GetUV(Int32) UV Returns one UV coordinate at the given index.
M GetUVs() IList<UV> Returns all UV coordinates assigned to the polymesh
Name Return Type Description
P DistributionOfNormals DistributionOfNormals Indicates the distribution of normal vectors along the tessellated polymesh surface.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P NumberOfFacets int The number of facet in the polymesh.
P NumberOfNormals int The number of normals associated with the polymesh
P NumberOfPoints int The number of points in the polymesh
P NumberOfUVs int The number of UV coordinates available for the polymesh.