IMathRotateRectangleAndWiden Method

Rotate the rectangle, if its not %90 degree it must be widen in X and Y direction.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static RectangleD RotateRectangleAndWiden(
	RectangleD Rect,
	double Angle
)

Parameters

Rect  RectangleD
The rectangle before rotating.
Angle  Double
The rotation angle.

Return Value

RectangleD
The rectangle after rotating.

See Also