You are here: Start » AVL.NET » Function Reference » Region » Region Relations » AVL.TestPointInRegion
Tests whether a point lies inside a region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TestPointInRegion ( AvlNet.Point2D inPoint, AvlNet.Region inRegion, out bool outIsContained )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint | AvlNet.Point2D | |||
![]() | inRegion | AvlNet.Region | Input region. | ||
![]() | outIsContained | bool |
Examples
![]() |
![]() |
TestPointInRegion run on the sample data produces the outIsContained = true |
TestPointInRegion run on the sample data produces the outIsContained = false |