Table of Contents

Class TriangleMesh

Namespace
RvtIO.Meshes
Assembly
RvtIO.dll

Triangles that share one material.

public sealed class TriangleMesh

Inheritance

Inherited Members

Properties

Indices

Three vertex indices per triangle, counter-clockwise seen from the side the normals point to.

public int[] Indices { get; init; }

Property Value

int[]

MaterialId

The material element id of the triangles, 0 for none.

public int MaterialId { get; init; }

Property Value

int

Normals

Unit normal x, y, z per vertex. Vertices are not shared between faces, so a face keeps its own normal and the edges between faces stay sharp.

public double[] Normals { get; init; }

Property Value

double[]

Positions

Vertex coordinates x, y, z in feet, three values per vertex.

public double[] Positions { get; init; }

Property Value

double[]