IMathGetMidPoint(PointF, PointF) Method

The middle of two points.It calculates a line through both points and take exact the middle of both points.

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointF GetMidPoint(
	PointF FromP,
	PointF ToP
)

Parameters

FromP  PointF
The frist point.
ToP  PointF
The second point.

Return Value

PointF
Middle of the two points.

See Also