GH_GDI_UtilFreeform_Blob Method (IEnumerableRectangleF, Int32, Double, GH_ContextFieldSolver, Double) |
Create a meta-ball outline for a set of rectangles.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public static GraphicsPath Freeform_Blob(
IEnumerable<RectangleF> content,
int padding,
double accuracy,
FieldSolver solver,
double section
)
Public Shared Function Freeform_Blob (
content As IEnumerable(Of RectangleF),
padding As Integer,
accuracy As Double,
solver As FieldSolver,
section As Double
) As GraphicsPath
Parameters
- content
- Type: System.Collections.GenericIEnumerableRectangleF
Rectangles to encompass. - padding
- Type: SystemInt32
Number of units to add to each box. - accuracy
- Type: SystemDouble
Pixel accuracy for isosurface outlines. 3 is a good value for 1:1 UI. - solver
- Type: FieldSolver
The falloff solver to use. GH_Util.MetaBall.GH_Context contains a bunch of predefined solvers. - section
- Type: SystemDouble
Elevation of section plane.
Return Value
Type:
GraphicsPathA graphics path describing all iso-surfaces
See Also