Class PerformanceData
Sample data structure containing a variety of data values, in this case the values are related in that they correspond to the same time value.
Inheritance
System.Object
PerformanceData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class PerformanceData
Constructors
| Improve this Doc View SourcePerformanceData(Double, Double, Double, Double)
Constructor that specifies each data value in the PerformanceData struct
Declaration
public PerformanceData(double time, double distance, double velocity, double acceleration)
Parameters
Type | Name | Description |
---|---|---|
System.Double | time | The time (seconds) at which these data are measured |
System.Double | distance | The distance traveled, meters |
System.Double | velocity | The instantaneous velocity, meters per second |
System.Double | acceleration | The instantaneous acceleration, meters per second squared |
Fields
| Improve this Doc View Sourceacceleration
The instantaneous acceleration, meters per second squared
Declaration
public double acceleration
Field Value
Type | Description |
---|---|
System.Double |
distance
The distance traveled, meters
Declaration
public double distance
Field Value
Type | Description |
---|---|
System.Double |
time
The time (seconds) at which these data are measured
Declaration
public double time
Field Value
Type | Description |
---|---|
System.Double |
velocity
The instantaneous velocity, meters per second
Declaration
public double velocity
Field Value
Type | Description |
---|---|
System.Double |
Properties
| Improve this Doc View SourceItem[PerfDataType]
Gets or sets the data value as specified by the PerfDataType enum
Declaration
public double this[PerfDataType type] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
PerfDataType | type | The required data value type |
Property Value
Type | Description |
---|---|
System.Double |