GetLastLayer

CompoundStructureLayer GetLastLayer(this CompoundStructure cs)

Gets the last layer (interior/bottom).

Parameters

  • csCompoundStructure

    The compound structure.

Returns: The last layer, or default if none.

Example

var last = cs.GetLastLayer();