Click or drag to resize

UtilMidPoint Method

Return a Vector3 that is midPoint units along the line from a to b. Eg, midPoint=0.5 returns the point half way between a and b

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.01.00
Syntax
C#
public static Vector3 MidPoint(
	Vector3 a,
	Vector3 b,
	double midPoint
)

Parameters

a  Vector3
Start
b  Vector3
End
midPoint  Double
Fraction along line

Return Value

Vector3
Result
Remarks
See Also