You are here: Start » FIL.NET » Function Reference » Path » Path Spatial Transforms » FIL.InflatePath
FIL.InflatePath
Enlarges a path by a given margin (points in the input path must be sorted clockwise).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void InflatePath ( FilNet.Path inPath, float inMargin, float inMaxPointDisplacement, INullable<FilNet.Path> outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | FilNet.Path | Input path. | ||
![]() | inMargin | float | Margin of inflation. | ||
![]() | inMaxPointDisplacement | float | <0.0f, INF> | 1000.0f | Maximal displacement of single point. Default value: 1000.0f. |
![]() | outPath | FilNet.INullable<FilNet.Path> | Output path. This parameter cannot be null. |
Description
Creates a new path by enlarging the existing one. Distance between corresponding segments of inPath and outPath is defined by inMargin.
Examples
![]() |
![]() |
Example of inflation of initial path (blue). Result is in orange. Note that results for closed (on left) and open path (on right) are slightly different.