Point3dCollectionExtensionRemoveDuplicates Method (Point3dCollection, Tolerance) |
Removes duplicated points in the collection using the specified Tolerance.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static IEnumerable<Point3d> RemoveDuplicates(
this Point3dCollection source,
Tolerance tolerance
)
<ExtensionAttribute>
Public Shared Function RemoveDuplicates (
source As Point3dCollection,
tolerance As Tolerance
) As IEnumerable(Of Point3d)
public:
[ExtensionAttribute]
static IEnumerable<Point3d>^ RemoveDuplicates(
Point3dCollection^ source,
Tolerance tolerance
)
[<ExtensionAttribute>]
static member RemoveDuplicates :
source : Point3dCollection *
tolerance : Tolerance -> IEnumerable<Point3d>
Parameters
- source
- Type: Point3dCollection
The instance to which this method applies. - tolerance
- Type: Tolerance
The tolerance to be used in equality comparison.
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
Point3dCollection. 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).
See Also