Class SolidFuncSource
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
Properties
SolidGetter
Gets or sets the function that generates the solid geometry object.
public Func<Solid> SolidGetter { get; set; }
Property Value
Methods
GetSolid()
Gets the solid geometry object.
public Solid GetSolid()
Returns
- Solid
The solid geometry object.