Cog3DCircle Constructor (Double, Cog3DVect3, Cog3DVect3, Cog3DShapeStateConstants)Cognex VisionPro 9.20
Constructs a circle using the specified radius, center, normal direction, and Cog3DShapeStateConstants.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 80.0.0.0
Syntax

public Cog3DCircle(
	double radius,
	Cog3DVect3 center,
	Cog3DVect3 normal,
	Cog3DShapeStateConstants shapeState
)

Parameters

radius
Type: System Double
The radius of the circle. radius must be >= 0.
center
Type: Cognex.VisionPro3D Cog3DVect3
The center of the circle.
normal
Type: Cognex.VisionPro3D Cog3DVect3
The normal direction of the circle.
shapeState
Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this box. Must be Cog3DShapeStateConstants..Curve, or .Surface.
Exceptions

ExceptionCondition
ArgumentException If radius is less than 0.
ArgumentException If normal is (0,0,0).
ArgumentException The ShapeState for this shape must be Cog3DShapeStateConstants.Curve, or .Surface.
See Also