Poly2d.Contains Method

Checks if a point is inside the poly. If the poly is open, an exception is thrown. The direction (CW/CCW) of the poly is not taken into account.
public bool Contains( 
   Point2d pnt 
)

Parameters

pnt
Point2d

The point to check for inclusion.

Return Value

bool

true if the point is inside, otherwise false.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition