ALTAStressProfile.AddSegment

From ReliaWiki
Revision as of 18:44, 30 January 2014 by John Leavitt (talk | contribs)
Jump to navigation Jump to search


Adds a new segment to the stress profile.

Method Syntax

AddSegment( ByVal SegmentEnd As Double , ByVal Stress As Double )

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)