Polyline2dExtensionGetArcSegment2dAt Method |
Gets the circular arc 2D segment at specified index.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static CircularArc2d GetArcSegment2dAt(
this Polyline2d pline,
int index
)
<ExtensionAttribute>
Public Shared Function GetArcSegment2dAt (
pline As Polyline2d,
index As Integer
) As CircularArc2d
public:
[ExtensionAttribute]
static CircularArc2d^ GetArcSegment2dAt(
Polyline2d^ pline,
int index
)
[<ExtensionAttribute>]
static member GetArcSegment2dAt :
pline : Polyline2d *
index : int -> CircularArc2d
Parameters
- pline
- Type: Polyline2d
The instance to which this method applies. - index
- Type: SystemInt32
The segment index.
Return Value
Type:
CircularArc2dAn instance of CircularArc2d (OCS coordinates).
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Polyline2d. 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 pline is null. |
ArgumentOutOfRangeException |
ArgumentOutOfRangeException if the index id out of the indices range. |
See Also