Class StlFuncHost
A class that hosts a function to generate STL geometry.
public class StlFuncHost : IGetStl
- Inheritance
-
StlFuncHost
- Implements
- Inherited Members
- Extension Methods
Constructors
StlFuncHost()
Default constructor.
public StlFuncHost()
StlFuncHost(Func<Stl>)
Constructor with STL generator function.
public StlFuncHost(Func<Stl> stlHostFunc)
Parameters
Properties
StlHostFunc
Gets or sets the function that generates the STL object.
public Func<Stl> StlHostFunc { get; set; }
Property Value
Methods
GetStl()
Gets the STL geometry by invoking the hosted function.
public Stl GetStl()
Returns
- Stl
The generated STL object