Click or drag to resize

UtilDistance Method

Calculate the distance traveled when starting at a speed and accelerating, over a given time.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 10.0.7983.28765
Syntax
C#
public static double Distance(
	double u,
	double a,
	double t
)

Parameters

u
Type: SystemDouble
Start speed.
a
Type: SystemDouble
Acceleration.
t
Type: SystemDouble
Time taken.

Return Value

Type: Double
Distance traveled.
See Also