ICogShapeModel Shape Property Cognex VisionPro 9.22
Returns a reference to the shape object associated with this model feature. The Weight and Polarity are applied to this shape when it is used as a synthetic model.

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

ICogShape Shape { get; }

Property Value

Type: ICogShape
Remarks

Returns a reference to the shape object associated with this model feature. The Weight and Polarity are applied to this shape when it is used as a synthetic model.

This is a read-only property. To create a shape model, use the shape's MakeShapeModel method. For instance, to create a shape model for a circle, you would use CogCircle.MakeShapeModel.

See Also