Cog3DRectangle Size Property Cognex VisionPro 9.22
Gets/sets the size of this rectangle. The setter may change the value of Center. It does not change the value of ShapeFromScaledUnitRectangle.

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

public virtual Cog3DVect2 Size { get; set; }

Property Value

Type: Cog3DVect2
The size of this rectangle.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flags may be affected:

  • SfSize
  • SfCenter
  • SfGetLineSegments
  • SfGetVertices
  • SfComputePerimeter
  • SfComputeArea
  • SfGetOriginVertexXVectorYVector
  • SfComputeBoundingBox
  • SfIsDegenerateCurve
  • SfIsDegenerateSurface
Exceptions

ExceptionCondition
ArgumentException If any member of size is less than 0.
See Also