getelsetndx
getelsetndx |
Purpose
Synopsis
int getelsetndx(XPRMcontext ctx, XPRMset set, XPRMalltypes *elt);
Arguments
ctx
|
Mosel's execution context
|
set
|
Reference to a set
|
elt
|
Reference to the element
|
Return value
Index of a set element or a negative value if the element is not contained in the set.
Further information
This function returns the index of a given element of a set. If applied to a range set, the returned value is always
elt->integer.
Related topics