ICogRegion InterfaceCognex VisionPro 9.10
Base interface for all closed shapes.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax

public interface ICogRegion : ICogShape

The ICogRegion type exposes the following members.

Methods

  NameDescription
Public methodCreateRLE
Create an RLE representation of this Region.
Public methodDistanceToPoint
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.)
Public methodEnclosingRectangle
Minimum enclosing rectangle of this shape.
(Inherited from ICogShape.)
Public methodFitToBoundingBox
Adjust the shape's geometric properties so that the shape fits inside passed in rectangle.
(Inherited from ICogShape.)
Public methodFitToImage
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.)
Public methodMap
Maps this shape through the given transform.
(Inherited from ICogShape.)
Top
Properties

  NameDescription
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
(Inherited from ICogShape.)
Top
Remarks

Base interface for all closed shapes.

See Also