Cog3DCylinder SetShapeFromScaledUnitCylinder Method Cognex VisionPro
Set the ShapeFromScaledUnitCylinder transform of this cylinder. It may change the value of StartCircle. It does not change the value of Radius and Height.

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

public void SetShapeFromScaledUnitCylinder(
	Cog3DTransformRigid shapeFromScaledUnitCylinder
)

Parameters

shapeFromScaledUnitCylinder
Type: Cognex.VisionPro3D Cog3DTransformRigid
A Cog3DTransformRigid used to specify the ShapeFromScaledUnitCylinder transform of this cylinder. This transform specifies the pose of the ScaledUnitCylinder in 3D space.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when some properties change.

The following state flags may be affected:

  • SfGetShapeFromScaledUnitCylinder
  • SfStartCircle
  • SfGetEndCircle
  • SfAxisDirection
  • SfComputeBoundingBox
Exceptions

ExceptionCondition
ArgumentNullException If shapeFromScaledUnitCylinder is null.
See Also