Table of Contents

Interface IReleaseStlCache

Namespace
Hi.Geom
Assembly
HiGeom.dll

A mesh source that can let go of the mesh it keeps when GetStl() produces it again: a file-backed mesh read back from its file, a combination rebuilt from its sources, a transformed copy regenerated from the inner geometry. A holder that keeps a reference of its own to the mesh (a Solid's alias) drops it when the call returns true.

public interface IReleaseStlCache
Extension Methods

Methods

ReleaseStlCache()

Lets go of the kept mesh when GetStl() produces it again.

bool ReleaseStlCache()

Returns

bool

True when the kept mesh is gone (or already was) and GetStl() produces it again; false when the mesh has to stay as the only copy there is (a mesh handed in by hand, a file since deleted or overwritten), or when there is nothing to produce.