Brief Index      Full Index      Events Index      I.M. Reference

Show_Variable_Edge_Weight


Functions

void Show_Variable_Edge_Weight (char *weight)
void PShow_Net_Variable_Edge_Weight (int count, const HC_KEY *keys, char *weight)

Function Documentation

void Show_Variable_Edge_Weight ( char *  weight  ) 

Show the current variable edge weight setting.

Parameters:
weight - Scale factor applied to the edge width. Returned to caller. Passed by reference always

DETAILS

Show_Variable_Edge_Weight() reads back the edge weight setting as defined in a previous call to Set_Variable_Edge_Weight().

See also:
Show_Edge_Weight, Set_Edge_Weight

void PShow_Net_Variable_Edge_Weight ( int  count,
const HC_KEY *  keys,
char *  weight 
)

Similar to Show_Variable_Edge_Weight(), but returns the net effective setting along a discrete segment path.

Parameters:
count - The size of pathkeys
keys - An array of HC_KEY's delineating a path of segments.
weight - Scale factor applied to the edge width. Returned to caller. Passed by reference always

DETAILS

As with all PShow_Net_* routines, pathkeys[0] represents the lowest (a.k.a the "most local" or "leaf"), and pathkeys[keycount-1] represents the highest segment. If the path is incomplete, missing segments are filled in if possible. Missing segments must be part of the same direct ancestry in order to be filled in. If the desired path contains an include link, the shortest unambiguous set of pathkeys would be [leaf, includelink, root], where includelink is the return value from Include_Segment().

By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.

For other details, see Show_Variable_Edge_Weight()

Brief Index      Full Index      Events Index      I.M. Reference