GINO Graphics Suite - GINO v9.0  

gEnqSegGroup

Syntax

[C/C++:]
void gEnqSegGroup(int ngrp, int *segmin, int *segmax);
[F90:]
subroutine gEnqSegGroup(ngrp, segmin, segmax)

integer, intent(in) :: ngrp
integer, intent(out) :: segmin,segmax

Arguments

ngrp
Segment group number

segmin
Start segment number

segmax
End segment number

Description

The routine gEnqSegGroup() returns the range of segment numbers defined for segment group ngrp. A segment group is defined by calling gDefineSegGroup() and removed by calling gRemoveSegGroup(). ngrp should lie within the range defined by a call to gDefineGroupRange(). If ngrp is out of range, segmin and segmax are returned set to -1.

If the specified segment group does not exist, segmin and segmax are returned set to zero. Otherwise, segmin and segmax return the range of segment numbers defined for the segment group.

See Also

gEnqSegGroup Usage
gRemoveSegGroup
gDefineSegGroup
gDefineGroupRange