Class TopoStl3HfrFlatDisplayee
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
sourceTopoStl3HfrThe source topological STL.
Properties
Source
The source topological STL.
public TopoStl3Hfr Source { get; }
Property Value
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
bindBind
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
disposingbool
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dstBox3dDestination box