Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Shape Relations » TestPointInShape
Tests whether a point lies inside a shape.
Name | Type | Description | |
---|---|---|---|
inPoint | Point2D | Point the position of which will be tested | |
inShape | Path | Shape against which the position will be tested | |
outIsContained | Bool | True if point lies inside the shape, false otherwise |
Description
The operation tests if inPoint lies inside inShape.
Due to inaccuracy of floating point representation a point lying extremely close to a path may considered to be on either of the sides of the path or exactly on the path itself.
Examples
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Open path on input in TestPointInShape. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- TestShapeInShape – Tests whether a shape lies inside another one.