Click or drag to resize

Point3dCollectionExtensionContains Method (Point3dCollection, Point3d, Tolerance)

Gets a value indicating if the the collection contains the point using the specified Tolerance.

Namespace:  Gile.AutoCAD.Geometry
Assembly:  GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static bool Contains(
	this Point3dCollection source,
	Point3d pt,
	Tolerance tol
)

Parameters

source
Type: Point3dCollection
The instance to which this method applies.
pt
Type: Point3d
The point to search.
tol
Type: Tolerance
The Tolerance to be use in comparisons.

Return Value

Type: Boolean
true, if the point is found ; false, otherwise.

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).
Exceptions
ExceptionCondition
ArgumentNullExceptionArgumentException is thrown if the collection is null.
See Also