Point2dCollectionExtensionRemoveDuplicates Method (Point2dCollection) |
Removes duplicated points using Tolerance.Global.EqualPoint.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static IEnumerable<Point2d> RemoveDuplicates(
this Point2dCollection source
)
<ExtensionAttribute>
Public Shared Function RemoveDuplicates (
source As Point2dCollection
) As IEnumerable(Of Point2d)
public:
[ExtensionAttribute]
static IEnumerable<Point2d>^ RemoveDuplicates(
Point2dCollection^ source
)
[<ExtensionAttribute>]
static member RemoveDuplicates :
source : Point2dCollection -> IEnumerable<Point2d>
Parameters
- source
- Type: Point2dCollection
The instance to which this method applies.
Return Value
Type:
IEnumerablePoint2dA sequence of distinct points.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Point2dCollection. 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
See Also