Table of Contents

Class StlFuncHost

Namespace
Hi.Geom
Assembly
HiGeom.dll

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

stlHostFunc Func<Stl>

Function that generates an STL object

Properties

StlHostFunc

Gets or sets the function that generates the STL object.

public Func<Stl> StlHostFunc { get; set; }

Property Value

Func<Stl>

Methods

GetStl()

Gets the STL geometry by invoking the hosted function.

public Stl GetStl()

Returns

Stl

The generated STL object