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 Function Contains( _ 
ByVal pnt As Point2d
) As Boolean
This language is not supported or no code example is available.
public bool Contains( 
Point2d pnt 
)
This language is not supported or no code example is available.
public:  
bool Contains( 
Point2d^ pnt 
)
This language is not supported or no code example is available.
public function Contains( 
pnt : Point2d 
) : boolean;
This language is not supported or no code example is available.

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