Segments
Functions introduced:
A segment is represented by the opaque pointer ProPsegment.
The function
ProPsegmentTypeGet() tells you whether the segment is straight or bent.
The function
ProPsegmentLinestockGet() outputs which linestock was used for this segment. Note that because the pipeline may contain fittings which cause a change in diameter, some segments in the pipeline may yield a different linestock from that provided by
ProPipelineLnstkGet() for the pipeline itself.
The function
ProPsegmentLengthGet() outputs the physical length of the segment.
The function
ProPsegmentCurvesGet() outputs an array of
ProCurve objects that describes the geometry of the centerline of the segment. The curves are always listed in the direction of flow.