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.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax
Parameters
- ellipseFromUnitCircle
- Type: Cognex.VisionPro CogTransform2DLinear
The transform that maps the unit circle arc to this ellipse.
Events
| Event Type | Reason |
|---|---|
| CogEllipse Changed | Fires when the shape changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| 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