Table of Contents

Class SolidFuncSource

Namespace
Hi.NcMech.Solids
Assembly
HiMech.dll

Provides a function-based source for solid geometry objects. Allows dynamic generation of solid models through a delegate function.

public class SolidFuncSource : IGetSolid
Inheritance
SolidFuncSource
Implements
Inherited Members
Extension Methods

Constructors

SolidFuncSource(Func<Solid>)

Initializes a new instance of the SolidFuncSource class with the specified solid getter function.

public SolidFuncSource(Func<Solid> solidGetter)

Parameters

solidGetter Func<Solid>

The function that generates the solid geometry object.

Properties

SolidGetter

Gets or sets the function that generates the solid geometry object.

public Func<Solid> SolidGetter { get; set; }

Property Value

Func<Solid>

Methods

GetSolid()

Gets the solid geometry object.

public Solid GetSolid()

Returns

Solid

The solid geometry object.