RhinoCommon API
HatchCreate Method (IEnumerableCurve, Int32, Double, Double) |
Note: This API is now obsolete.
Constructs an array of hatches from a set of curves.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

[ObsoleteAttribute("Use version that takes a tolerance parameter instead")] public static Hatch[] Create( IEnumerable<Curve> curves, int hatchPatternIndex, double rotationRadians, double scale )
<ObsoleteAttribute("Use version that takes a tolerance parameter instead")> Public Shared Function Create ( curves As IEnumerable(Of Curve), hatchPatternIndex As Integer, rotationRadians As Double, scale As Double ) As Hatch()
Parameters
- curves
- Type: System.Collections.GenericIEnumerableCurve
An array, a list or any enumerable set of Curve. - hatchPatternIndex
- Type: SystemInt32
The index of the hatch pattern in the document hatch pattern table. - rotationRadians
- Type: SystemDouble
The relative rotation of the pattern. - scale
- Type: SystemDouble
A scaling factor.
Return Value
Type: HatchAn array of hatches. The array might be empty on error.

Exception | Condition |
---|---|
ArgumentNullException | If curves is null. |
