Point2dCollectionExtensionContains Method (Point2dCollection, Point2d) |
Evaluates if the collection contains point using Tolerance.Global.EqualPoint.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static bool Contains(
this Point2dCollection source,
Point2d point
)
<ExtensionAttribute>
Public Shared Function Contains (
source As Point2dCollection,
point As Point2d
) As Boolean
public:
[ExtensionAttribute]
static bool Contains(
Point2dCollection^ source,
Point2d point
)
[<ExtensionAttribute>]
static member Contains :
source : Point2dCollection *
point : Point2d -> bool
Parameters
- source
- Type: Point2dCollection
The instance to which this method applies. - point
- Type: Point2d
Point to search for.
Return Value
Type:
Booleantrue, if
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
Point2dCollection. 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