ERectangle::SetFromTwoPoints

DEPRECATED (you should use ERectangle::SetFromOppositeCorners): Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.

Namespace: Euresys::Open_eVision_2_11

[C++]

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

Parameters

origin

Upper left point coordinates of the rectangle.

end

Lower right point coordinates of the rectangle.

ERectangle.SetFromTwoPoints

DEPRECATED (you should use ERectangle::SetFromOppositeCorners): Sets the geometric parameters (center coordinates, size, and rotation angle) of an ERectangle object.

Namespace: Euresys.Open_eVision_2_11

[C#]

void SetFromTwoPoints(
   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.