Click or drag to resize

SpeedRange Class

Represents the valid speeds that a simulator can run at.
Inheritance Hierarchy
SystemObject
  Demo3D.EventQueue.CoSimulationSpeedRange

Namespace:  Demo3D.EventQueue.CoSimulation
Assembly:  Demo3D.EventQueue (in Demo3D.EventQueue.dll) Version: 15.0.2.11458
Syntax
C#
public class SpeedRange

The SpeedRange type exposes the following members.

Constructors
  NameDescription
Public methodSpeedRange
Constructs a new SpeedRange.
Public methodSpeedRange(Double)
Constructs a SpeedRange with one speed.
Public methodSpeedRange(Double, Double)
Constructs a SpeedRange with one range of speeds.
Top
Methods
  NameDescription
Public methodAdd(Double)
Constructs a new SpeedRange including the new speed.
Public methodAdd(Double, Double)
Constructs a new SpeedRange including the new range of speeds.
Public methodClosestSpeed
Return the closest valid speed.
Public methodCombine
Constructs a new SpeedRange combining the speeds in this range with those in with.
Public methodToString
Converts the speed ranges to a string.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberAnySpeed
A range from 0 to Infinity.
Top
See Also