IMathSameRectangle Method

The rectangles are the same on 0.001 value?

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool SameRectangle(
	RectangleD r1,
	RectangleD r2
)

Parameters

r1  RectangleD
First rectangle to compare.
r2  RectangleD
Second rectangle to compare.

Return Value

Boolean
True if difference of two rectangles is smaller then 0.001.

See Also