Cog3DSphere SetShapeFromScaledUnitSphere Method Cognex VisionPro 9.8
Set the ShapeFromScaledUnitSphere transform of this sphere. It may change the value of Center. It does not change the value of Radius.

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

public void SetShapeFromScaledUnitSphere(
	Cog3DTransformRigid shapeFromScaledUnitSphere
)

Parameters

shapeFromScaledUnitSphere
Type: Cognex.VisionPro3D Cog3DTransformRigid
A Cog3DTransformRigid used to specify the ShapeFromScaledUnitSphere transform of this sphere. This transform specifies the pose of the ScaledUnitSphere in 3D space.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfGetShapeFromScaledUnitSphere
  • SfCenter
  • SfComputeBoundingBox
Exceptions

ExceptionCondition
ArgumentNullException If shapeFromScaledUnitSphere is null.
See Also