Cog3DSphere Constructor (Double, Cog3DTransformRigid, Cog3DShapeStateConstants)Cognex VisionPro 9.5
Constructs a sphere using the specified radius, rigid transform, and Cog3DShapeStateConstants.

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

public Cog3DSphere(
	double radius,
	Cog3DTransformRigid shapeFromScaledUnitSphere,
	Cog3DShapeStateConstants shapeState
)

Parameters

radius
Type: System Double
The radius of this sphere. Must be >= 0.
shapeFromScaledUnitSphere
Type: Cognex.VisionPro3D Cog3DTransformRigid
The rigid transform that maps the ScaledUnitSphere to a pose in 3D space.
shapeState
Type: Cognex.VisionPro3D Cog3DShapeStateConstants
The state of this sphere. Must be Cog3DShapeStateConstants.Surface, or .Volume.
Exceptions

ExceptionCondition
ArgumentException If radius is less than 0.
ArgumentNullException If shapeFromScaledUnitSphere is null.
ArgumentException If shapeState is neither Cog3DShapeStateConstants.Surface nor .Volume.
See Also