CompoundStructure.GetPreviousNonZeroLayerIndex
Description:
Returns the index of the nearest non-zero width layer before this layer.
Returns the index of the nearest non-zero width layer before this layer.
Remarks:
If this layer is non-zero width, it will be returned. If there are non-zero width layers found, returns -1.
If this layer is non-zero width, it will be returned. If there are non-zero width layers found, returns -1.
public int GetPreviousNonZeroLayerIndex(
int thisIdx
)
-
Int32thisIdxThe layer from which to look for a non-zero width layer.
Return Value
Int32
The index of the layer found.