ERectangleShape::SetFromTwoPoints

DEPRECATED (you should use ERectangleShape::SetFromOppositeCorners): Sets the geometric parameters of an ERectangleShape object using two opposed corners.

Namespace: Euresys::Open_eVision_2_11

[C++]

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

Parameters

origin

Origin point coordinates of the rectangle.

end

End point coordinates of the rectangle.

Remarks

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.

ERectangleShape.SetFromTwoPoints

DEPRECATED (you should use ERectangleShape::SetFromOppositeCorners): Sets the geometric parameters of an ERectangleShape object using two opposed corners.

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

Origin point coordinates of the rectangle.

end

End point coordinates of the rectangle.

Remarks

In a direct coordinate system, the abscissa extends rightwards and the ordinate extends upwards. The coordinate system is said to be inverse if the abscissa extends rightwards and the ordinate extends downwards.