Table of Contents

Class NativeTopoStld

Namespace
Hi.Geom
Assembly
HiDisp.dll

Native TopoStl with element type double.

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

Constructors

NativeTopoStld(Stl)

Initializes a new instance of the NativeTopoStld class.

public NativeTopoStld(Stl stl)

Parameters

stl Stl

The STL model to convert to a native topology.

Properties

CosRoundAngle

Gets or sets the cosine of the angle used for rounding.

public double CosRoundAngle { get; set; }

Property Value

double

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

~NativeTopoStld()

protected ~NativeTopoStld()

GenStl()

Generates an STL model from the native topology.

public Stl GenStl()

Returns

Stl

A new STL model.