Point3dCollectionExtension.RemoveDuplicates Method (IEnumerable<Point3d>, Tolerance) |
Removes duplicated points in the sequence using the specified Tolerance.
Namespace:
Gile.AutoCAD.R20.Geometry
Assembly:
GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static IEnumerable<Point3d> RemoveDuplicates(
this IEnumerable<Point3d> source,
Tolerance tolerance
)
<ExtensionAttribute>
Public Shared Function RemoveDuplicates (
source As IEnumerable(Of Point3d),
tolerance As Tolerance
) As IEnumerable(Of Point3d)
public:
[ExtensionAttribute]
static IEnumerable<Point3d>^ RemoveDuplicates(
IEnumerable<Point3d>^ source,
Tolerance tolerance
)
[<ExtensionAttribute>]
static member RemoveDuplicates :
source : IEnumerable<Point3d> *
tolerance : Tolerance -> IEnumerable<Point3d>
Parameters
- source
- Type: System.Collections.Generic.IEnumerable<Point3d>
The instance to which this method applies. - tolerance
- Type: Tolerance
The tolerance to be used in equality comparison.
Return Value
Type:
IEnumerable<Point3d>A 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
IEnumerable<Point3d>. 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 source is null. |
See Also