CogEllipse SetFromUnitCircleTransform Method Cognex VisionPro 9.21
Set the geometry of this ellipse from the given linear transform that maps the unit circle to an ellipse. The unit circle is a circle centered at (0,0) with a radius of one.

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

public void SetFromUnitCircleTransform(
	CogTransform2DLinear ellipseFromUnitCircle
)

Parameters

ellipseFromUnitCircle
Type: Cognex.VisionPro CogTransform2DLinear

The transform that maps the unit circle arc to this ellipse.

Events

Event TypeReason
CogEllipse Changed

Fires when the shape changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    ellipseFromUnitCircle is NULL.

    Remarks

    Sets the geometry of this ellipse from the given linear transform that maps the unit circle to an ellipse. The unit circle is a circle centered at (0,0) with a radius of one.

    The unit circle space is a child space of this shape.

    You can map positions in child space to the parent space using the ellipseFromUnitCircle transform. You can map from parent space to child space using the inverse transform.

    See Also