ALTAStressProfile.AddSegment: Difference between revisions
Jump to navigation
Jump to search
Albert Szeto (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
'''Stress''' | '''Stress''' | ||
The stress during this segment. | The stress during this segment. | ||
== Usage Example == | |||
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}} | |||
Dim sp = New ALTAStressProfile("Profile1") | |||
{{APIComment|Add segments.}} | |||
sp.AddSegment(1, 250) | |||
sp.AddSegment(2, 300) | |||
sp.AddSegment(3, 400) |
Revision as of 23:30, 12 September 2013
Add a new segment into the Stress Profile
Method Syntax
AddSegment( ByVal SegmentEnd As Double , ByVal Stress As Double )
Adds a new segment to the stress profile.
Parameters
SegmentEnd The time at the end of this segment.
Stress The stress during this segment.
Usage Example
Declare an ALTAStressProfile. See ALTAStressProfile for additional details.
Dim sp = New ALTAStressProfile("Profile1")
Add segments.
sp.AddSegment(1, 250) sp.AddSegment(2, 300) sp.AddSegment(3, 400)