Table of Contents

Class MeshSimplification

Namespace
HelixToolkit.Geometry
Assembly
HelixToolkit.Geometry.dll

Fast-Quadric-Mesh-Simplification, port from https://github.com/sp4cerat/Fast-Quadric-Mesh-Simplification

public sealed class MeshSimplification
Inheritance
MeshSimplification
Inherited Members

Constructors

MeshSimplification(MeshGeometry3D?)

public MeshSimplification(MeshGeometry3D? model)

Parameters

model MeshGeometry3D

Methods

GetMesh()

public MeshGeometry3D GetMesh()

Returns

MeshGeometry3D

Simplify(bool)

public MeshGeometry3D Simplify(bool verbose = false)

Parameters

verbose bool

Returns

MeshGeometry3D

Simplify(int, float, bool, bool)

Mesh Simplification using Fast-Quadric-Mesh-Simplification

public MeshGeometry3D Simplify(int targetCount, float aggressive = 7, bool verbose = false, bool lossless = false)

Parameters

targetCount int

Target Number of Triangles

aggressive float

sharpness to increase the threshold, 5->8 are usually good, more iteration yields higher quality

verbose bool
lossless bool

Returns

MeshGeometry3D