ERectangleShape::SetSize

Sets the size of a ERectangleShape object.

Namespace: Euresys::Open_eVision_2_11

[C++]

void SetSize(
   float sizeX,
   float sizeY
)

Parameters

sizeX

Nominal size X of the ERectangleShape object. Default values is 100.

sizeY

Nominal size Y of the ERectangleShape object. Default values is 100.

Remarks

A ERectangleShape object is fully defined knowing its nominal position (given by the coordinates of its center), its nominal size, its rotation angle and its outline tolerance. By default, the width and height values are 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.

ERectangleShape.SetSize

Sets the size of a ERectangleShape object.

Namespace: Euresys.Open_eVision_2_11

[C#]

void SetSize(
   float sizeX,
   float sizeY
)

Parameters

sizeX

Nominal size X of the ERectangleShape object. Default values is 100.

sizeY

Nominal size Y of the ERectangleShape object. Default values is 100.

Remarks

A ERectangleShape object is fully defined knowing its nominal position (given by the coordinates of its center), its nominal size, its rotation angle and its outline tolerance. By default, the width and height values are 100, which means 100 pixels when the field of view is not calibrated and 100 "units" in case of a calibrated field of view.