Demo3D 2022 API Documentation
Demo3D 2022 API Documentation
Demo3D Namespaces
Demo3D.Common Namespaces
Demo3D.Common
Util Class
Util Methods
Distance Method
Distance Method (Vector2, Vector2)
Distance Method (Vector3, Vector3)
Distance Method (Double, Double, Double)
Util
Distance Method (Double, Double, Double)
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: 15.0.2.11458
Syntax
C#
Copy
public
static
double
Distance
(
double
u
,
double
a
,
double
t
)
Parameters
u
Type:
System
Double
Start speed.
a
Type:
System
Double
Acceleration.
t
Type:
System
Double
Time taken.
Return Value
Type:
Double
Distance traveled.
See Also
Reference
Util Class
Distance Overload
Demo3D.Common Namespace
© Emulate3D Ltd. All rights reserved.
Send comments on this topic to
support@demo3d.com