Polygon2d Constructor (IEnumerableLineSegment2d) |
Creates a new instance of Polygon2d.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic Polygon2d(
IEnumerable<LineSegment2d> segments
)
Public Sub New (
segments As IEnumerable(Of LineSegment2d)
)
public:
Polygon2d(
IEnumerable<LineSegment2d^>^ segments
)
new :
segments : IEnumerable<LineSegment2d> -> Polygon2d
Parameters
- segments
- Type: System.Collections.GenericIEnumerableLineSegment2d
Segments sequence.
ExceptionsException | Condition |
---|
ArgumentNullException | ArgumentException is thrown if segments is null. |
See Also