Table of Contents

Class TopoStl3HfrFlatDisplayee

Namespace
Hi.Geom.Topo
Assembly
HiDisp.dll

Flat-shaded displayee for TopoStl3Hfr. Renders flat triangle faces (one normal per triangle) and all unique edge lines. Corresponds to C++ TopoStl3::_flatDraw + all-lines draw.

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

Constructors

TopoStl3HfrFlatDisplayee(TopoStl3Hfr)

Initializes a new flat displayee wrapping the given TopoStl3Hfr.

public TopoStl3HfrFlatDisplayee(TopoStl3Hfr source)

Parameters

source TopoStl3Hfr

The source topological STL.

Properties

Source

The source topological STL.

public TopoStl3Hfr Source { get; }

Property Value

TopoStl3Hfr

Methods

ClearCache()

Invalidates all cached drawings. Call this after modifying the source topology.

public void ClearCache()

Display(Bind)

Displays the flat-shaded topological STL: all edges in black + flat-shaded triangle faces.

public void Display(Bind bind)

Parameters

bind 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