Cog3DBox SetShapeFromScaledUnitBox Method Cognex VisionPro 9.7
Set the ShapeFromScaledUnitBox transform of this box. It may change the value of Center. It does not change the value of Size.

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

public void SetShapeFromScaledUnitBox(
	Cog3DTransformRigid shapeFromScaledUnitBox
)

Parameters

shapeFromScaledUnitBox
Type: Cognex.VisionPro3D Cog3DTransformRigid
A Cog3DTransformRigid used to specify the ShapeFromScaledUnitBox transform of this box. This transform specifies the pose of the ScaledUnitBox in 3D space.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfGetShapeFromScaledUnitBox
  • SfCenter
  • SfGetSurfaces
  • SfGetLineSegments
  • SfGetVertices
  • SfGetOriginVertexXVectorYVectorZ
  • SfComputeBoundingBox
Exceptions

ExceptionCondition
ArgumentNullException If shapeFromScaledUnitBox is null.
See Also