Table of Contents

Class NativeTopoStlfr

Namespace
Hi.Geom
Assembly
HiDisp.dll

Native TopoStl with element type fraction.

public class NativeTopoStlfr : IDisposable, IDisplayee, IExpandToBox3d
Inheritance
NativeTopoStlfr
Implements
Inherited Members
Extension Methods

Constructors

NativeTopoStlfr(Stl, double)

Initializes a new instance of the NativeTopoStlfr class.

public NativeTopoStlfr(Stl stl, double fractionTolerance)

Parameters

stl Stl

The STL model to convert to a native topology.

fractionTolerance double

The tolerance for fraction calculations.

Properties

Size

Gets the number of triangles in the native topology.

public int Size { get; }

Property Value

int

TopoStlPtr

Gets the pointer to the native topology structure.

public nint TopoStlPtr { get; }

Property Value

nint

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

ExpandToBox3d(Box3d)

Expands the destination box. This function is usually used to compute the bounding box of elements.

public void ExpandToBox3d(Box3d dst)

Parameters

dst Box3d

Destination box

~NativeTopoStlfr()

protected ~NativeTopoStlfr()

GenStl()

Generates an STL model from the native topology.

public Stl GenStl()

Returns

Stl

A new STL model.