ALTAStressProfile.AddSegment

From ReliaWiki
Jump to navigation Jump to search


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)