RegionExtensionGetCurves Method |
Gets the curves constituting the boundaries of the region.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static IEnumerable<Curve> GetCurves(
this Region region,
Tolerance tolerance = default
)
<ExtensionAttribute>
Public Shared Function GetCurves (
region As Region,
Optional tolerance As Tolerance = Nothing
) As IEnumerable(Of Curve)
public:
[ExtensionAttribute]
static IEnumerable<Curve^>^ GetCurves(
Region^ region,
Tolerance tolerance = Tolerance()
)
[<ExtensionAttribute>]
static member GetCurves :
region : Region *
?tolerance : Tolerance
(* Defaults:
let _tolerance = defaultArg tolerance new Tolerance()
*)
-> IEnumerable<Curve>
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:
IEnumerableCurveCurve collection.
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).
ExceptionsException | Condition |
---|
ArgumentNullException | ArgumentException is thrown if region is null. |
See Also