Base interface for all closed shapes.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax
The ICogRegion type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CreateRLE | Create an RLE representation of this Region. | |
| DistanceToPoint | Shortest distance from a boundary of this shape to the given point. Points within closed shapes return a distance less than zero. (Inherited from ICogShape.) | |
| EnclosingRectangle | Minimum enclosing rectangle of this shape. (Inherited from ICogShape.) | |
| FitToBoundingBox | Adjust the shape's geometric properties so that the shape fits inside passed in rectangle. (Inherited from ICogShape.) | |
| FitToImage | Adjust the shape's geometric properties such that its default size is based on the image and its SelectedSpaceName. XScale and YScale are multipliers where 1.0 designates 100% scaling. (Inherited from ICogShape.) | |
| Map | Maps this shape through the given transform. (Inherited from ICogShape.) |
Properties
| Name | Description | |
|---|---|---|
| SelectedSpaceName | Coordinate space in which this shape is to be interpreted. (Inherited from ICogShape.) |
Remarks
Base interface for all closed shapes.
See Also