Click or drag to resize

SpeedRange Class

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

Namespace: Demo3D.Time.CoSimulation
Assembly: Demo3D.Time (in Demo3D.Time.dll) Version: 19.00.00
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
Properties
 NameDescription
Public propertyCount Number of ranges of speeds.
Public propertySpeeds Ranges 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