IMathCalculateCenter Method

Calculates the Center for a given Start/End Point, Angle and direction

Definition

Namespace: PCBI.MathUtils
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static PointD CalculateCenter(
	PointD Begin,
	PointD End,
	double absAngle,
	bool cw
)

Parameters

Begin  PointD
Start Point
End  PointD
End Point
absAngle  Double
Angle (Angle between 0 and 360)
cw  Boolean
ClockWise true/false

Return Value

PointD
Point of center for this angle calculation.

See Also