Constructs a circle using the specified radius, transform, and Cog3DShapeStateConstants.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 73.0.0.0
Syntax
Parameters
- radius
- Type: System Double
The radius of the circle. radius must be >= 0.
- shapeFromScaledUnitCircle
- Type: Cognex.VisionPro3D Cog3DTransformRigid
The rigid transform that maps the ScaledUnitCircle to a pose in 3D space.
- shapeState
- Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this box. Must be Cog3DShapeStateConstants.Curve, or .Surface.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If radius is less than 0. |
| ArgumentNullException | If shapeFromScaledUnitCircle is null. |
| ArgumentException | The ShapeState for this shape must be Cog3DShapeStateConstants.Curve, or .Surface. |
See Also