PolymeshTopology
Description:
A class representing topology of a polymesh.
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.
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.
public class PolymeshTopology : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the PolymeshTopology | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetFacet(Int32) | PolymeshFacet | Returns a definition of one facet | |
| GetFacets() | IList<PolymeshFacet> | Returns a definitions of all facets of the polymesh | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetNormal(Int32) | XYZ | Returns a normal vector at the given index | |
| GetNormals() | IList<XYZ> | Returns all normals assigned to the polymesh | |
| GetPoint(Int32) | XYZ | Returns one point at the given index. | |
| GetPoints() | IList<XYZ> | Returns all points of the polymesh. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| GetUV(Int32) | UV | Returns one UV coordinate at the given index. | |
| GetUVs() | IList<UV> | Returns all UV coordinates assigned to the polymesh | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| DistributionOfNormals | DistributionOfNormals | Indicates the distribution of normal vectors along the tessellated polymesh surface. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| NumberOfFacets | int | The number of facet in the polymesh. | |
| NumberOfNormals | int | The number of normals associated with the polymesh | |
| NumberOfPoints | int | The number of points in the polymesh | |
| NumberOfUVs | int | The number of UV coordinates available for the polymesh. |