CogShapeModelGeneralContour Shape Property Cognex VisionPro 9.21 SR1
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.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Syntax

public virtual ICogShape Shape { get; }

Property Value

Type: ICogShape

Implements

ICogShapeModel Shape
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