Click or drag to resize

RegionExtensionGetHatchLoops Method

Gets the hatch loops data for the supplied region.

Namespace:  Gile.AutoCAD.R20.Geometry
Assembly:  GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
public static IEnumerable<(HatchLoopTypes , Curve2dCollection , IntegerCollection )> GetHatchLoops(
	this Region region,
	Tolerance tolerance = default
)

Parameters

region
Type: Region
The instance to which this method applies.
tolerance (Optional)
Type: Tolerance
Tolerance used in curve end points comparison.

Return Value

Type: IEnumerableValueTupleHatchLoopTypes, Curve2dCollection, IntegerCollection
A collection of tuples containing the loop data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Region. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionArgumentException is thrown if region is null.
See Also