Table of Contents

Class IfcMesh

Namespace
IfcIO.Geometry
Assembly
IfcIO.dll

A 3D polygon mesh representation composed of vertices and triangle indices.

public sealed class IfcMesh

Inheritance

Inherited Members

Constructors

IfcMesh()

public IfcMesh()

Properties

BoundingBox

public IfcBoundingBox BoundingBox { get; init; }

Property Value

IfcBoundingBox

Id

public int Id { get; init; }

Property Value

int

Indices

public required IReadOnlyList<int> Indices { get; init; }

Property Value

IReadOnlyList<int>

Name

public string Name { get; set; }

Property Value

string

TriangleCount

public int TriangleCount { get; }

Property Value

int

Vertices

public required IReadOnlyList<IfcVector3> Vertices { get; init; }

Property Value

IReadOnlyList<IfcVector3>

Methods

Create(int, string, IReadOnlyList<IfcVector3>, IReadOnlyList<int>)

public static IfcMesh Create(int id, string name, IReadOnlyList<IfcVector3> vertices, IReadOnlyList<int> indices)

Parameters

id int
name string
vertices IReadOnlyList<IfcVector3>
indices IReadOnlyList<int>

Returns

IfcMesh