ERectangle::SetSize
Sets the size of a ERectangle
object In a general content, the term object should be understood with the meaning of a class instance. In EasyObject, an object is a maximally-sized area of adjacent connected pixels belonging to the layer foreground..
Namespace: Euresys::Open_eVision
[C++]
void SetSize(
float sizeX,
float sizeY
)
Parameters
sizeX
Nominal size X of the ERectangle
object. Default values is 100
.
sizeY
Nominal size Y of the ERectangle
object. Default values is 100
.
Remarks
A ERectangle
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.
ERectangle.SetSize
Sets the size of a ERectangle
object.
Namespace: Euresys.Open_eVision
[C#]
void SetSize(
float sizeX,
float sizeY
)
Parameters
sizeX
Nominal size X of the ERectangle
object. Default values is 100
.
sizeY
Nominal size Y of the ERectangle
object. Default values is 100
.
Remarks
A ERectangle
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.
ERectangle.SetSize
Sets the size of a ERectangle
object.
Module: open_evision
[Python]
SetSize(
sizeX: float
sizeY: float
) -> None
Parameters
sizeX
Nominal size X of the ERectangle
object. Default values is 100
.
sizeY
Nominal size Y of the ERectangle
object. Default values is 100
.
Remarks
A ERectangle
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.