M_Rhino_Geometry_Hatch_Create_3 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs an array of hatches from a set of curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Hatch[] Create(
IEnumerable<Curve> curves,
int hatchPatternIndex,
double rotationRadians,
double scale,
double tolerance
)
VB
Public Shared Function Create (
curves As IEnumerable(Of Curve),
hatchPatternIndex As Integer,
rotationRadians As Double,
scale As Double,
tolerance As Double
) As Hatch()
- curves
- Type: System.Collections.Generic.IEnumerable(Curve)
An array, a list or any enumarable set of Curve. - hatchPatternIndex
- Type: System.Int32
The index of the hatch pattern in the document hatch pattern table. - rotationRadians
- Type: System.Double
The relative rotation of the pattern. - scale
- Type: System.Double
A scaling factor. - tolerance
- Type: System.Double
Type: Hatch[]
An array of hatches. The array might be empty on error.
Exception | Condition |
---|---|
ArgumentNullException | If curves is null. |
Supported in: 6.0.16224.21491