Point2dCollectionExtensionRemoveDuplicates Method (IEnumerablePoint2d) |
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 IEnumerable<Point2d> source
)
<ExtensionAttribute>
Public Shared Function RemoveDuplicates (
source As IEnumerable(Of Point2d)
) As IEnumerable(Of Point2d)
public:
[ExtensionAttribute]
static IEnumerable<Point2d>^ RemoveDuplicates(
IEnumerable<Point2d>^ source
)
[<ExtensionAttribute>]
static member RemoveDuplicates :
source : IEnumerable<Point2d> -> IEnumerable<Point2d>
Parameters
- source
- Type: System.Collections.GenericIEnumerablePoint2d
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
IEnumerablePoint2d. 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