Table of Contents

Class NativeStl

Namespace
Hi.Geom
Assembly
HiCbtr.dll

Native Stl. For purpose of efficient swept volume.

public class NativeStl : IGetStl, IDisposable, IExpandToBox3d
Inheritance
NativeStl
Implements
Inherited Members
Extension Methods

Constructors

NativeStl(Stl)

Ctor.

public NativeStl(Stl stl)

Parameters

stl Stl

ctor

Properties

StlPtr

Native pointer.

public nint StlPtr { get; }

Property Value

nint

TriangleNum

Triangle number.

public int TriangleNum { get; }

Property Value

int

Methods

Dispose()

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

public void Dispose()

Remarks

The dispose will also dispose the related TriTree.

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

~NativeStl()

protected ~NativeStl()

GenStl()

Generate Stl.

public Stl GenStl()

Returns

Stl

stl

GetStl()

Gets the STL geometry data.

public Stl GetStl()

Returns

Stl

The STL geometry object