ALTAStressProfile.AddSegment: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
== Method Syntax == | == Method Syntax == | ||
*AddSegment( SegmentEnd {{APIPrefix|As Double}} , Stress {{APIPrefix|As Double}} ) | |||
{{APIPrefix|As Double}} | |||
{{APIPrefix|As Double}} | |||
Parameters | |||
:''SegmentEnd'': The time at the end of this segment. | |||
The time at the end of this segment. | :''Stress'': The stress during this segment. | ||
The stress during this segment. | |||
== Usage Example == | == Usage Example == | ||
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]] | {{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]].}} | ||
Dim sp = New ALTAStressProfile("Profile1") | Dim sp = New ALTAStressProfile("Profile1") | ||
Revision as of 17:35, 11 March 2014
Adds a new segment to the stress profile.
Method Syntax
- AddSegment( SegmentEnd As Double , Stress As Double )
Parameters
- SegmentEnd: The time at the end of this segment.
- Stress: The stress during this segment.
Usage Example
Declare an ALTAStressProfile.
Dim sp = New ALTAStressProfile("Profile1")
Add segments.
sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)