ERectangle::ERectangle

Constructs a ERectangle

Namespace: Euresys::Open_eVision_2_11

[C++]

void ERectangle(
)

void ERectangle(
   const EPoint& center,
   float sizeX,
   float sizeY,
   float angle
)

void ERectangle(
   const EPoint& origin,
   const EPoint& end
)

void ERectangle(
   const EPoint& origin,
   const EPoint& middle,
   const EPoint& end
)

void ERectangle(
   const ERectangle& other
)

Parameters

center

Center coordinates of the rectangle at its nominal position. The default value is (0,0).

sizeX

Nominal size X/Y of the rectangle. Both default values are 100.

sizeY

Nominal size X/Y of the rectangle. Both default values are 100.

angle

Nominal rotation angle of the rectangle. The default value is 0.

origin

Upper left point coordinates of the rectangle.

end

Lower right point coordinates of the rectangle.

middle

A third corner point coordinates.

other

Another ERectangle object to be copied in the new ERectangle object.

ERectangle.ERectangle

Constructs a ERectangle

Namespace: Euresys.Open_eVision_2_11

[C#]

void ERectangle(
)

void ERectangle(
   Euresys.Open_eVision_2_11.EPoint center,
   float sizeX,
   float sizeY,
   float angle
)

void ERectangle(
   Euresys.Open_eVision_2_11.EPoint origin,
   Euresys.Open_eVision_2_11.EPoint end
)

void ERectangle(
   Euresys.Open_eVision_2_11.EPoint origin,
   Euresys.Open_eVision_2_11.EPoint middle,
   Euresys.Open_eVision_2_11.EPoint end
)

void ERectangle(
   Euresys.Open_eVision_2_11.ERectangle other
)

Parameters

center

Center coordinates of the rectangle at its nominal position. The default value is (0,0).

sizeX

Nominal size X/Y of the rectangle. Both default values are 100.

sizeY

Nominal size X/Y of the rectangle. Both default values are 100.

angle

Nominal rotation angle of the rectangle. The default value is 0.

origin

Upper left point coordinates of the rectangle.

end

Lower right point coordinates of the rectangle.

middle

A third corner point coordinates.

other

Another ERectangle object to be copied in the new ERectangle object.