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)
Syntaxpublic static bool Contains(
this Point3dCollection source,
Point3d pt,
Tolerance tol
)
<ExtensionAttribute>
Public Shared Function Contains (
source As Point3dCollection,
pt As Point3d,
tol As Tolerance
) As Boolean
public:
[ExtensionAttribute]
static bool Contains(
Point3dCollection^ source,
Point3d pt,
Tolerance tol
)
[<ExtensionAttribute>]
static member Contains :
source : Point3dCollection *
pt : Point3d *
tol : Tolerance -> bool
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:
Booleantrue, 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
See Also