Point3dCollectionExtensionRemoveDuplicates Method (IEnumerablePoint3d) |
Removes duplicated points in the sequence 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<Point3d> RemoveDuplicates(
this IEnumerable<Point3d> source
)
<ExtensionAttribute>
Public Shared Function RemoveDuplicates (
source As IEnumerable(Of Point3d)
) As IEnumerable(Of Point3d)
public:
[ExtensionAttribute]
static IEnumerable<Point3d>^ RemoveDuplicates(
IEnumerable<Point3d>^ source
)
[<ExtensionAttribute>]
static member RemoveDuplicates :
source : IEnumerable<Point3d> -> IEnumerable<Point3d>
Parameters
- source
- Type: System.Collections.GenericIEnumerablePoint3d
The instance to which this method applies.
Return Value
Type:
IEnumerablePoint3dA 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
IEnumerablePoint3d. 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