ERectangle::SetFromOppositeCorners

Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.

Namespace: Euresys::Open_eVision_2_11

[C++]

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

Parameters

origin

Upper left point coordinates of the rectangle.

end

Lower right point coordinates of the rectangle.

ERectangle.SetFromOppositeCorners

Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.

Namespace: Euresys.Open_eVision_2_11

[C#]

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

Parameters

origin

Upper left point coordinates of the rectangle.

end

Lower right point coordinates of the rectangle.