GetFirstLayer
CompoundStructureLayer GetFirstLayer(this CompoundStructure cs)Gets the first layer (exterior/top).
Parameters
- csCompoundStructure
The compound structure.
Returns: The first layer, or default if none.
Example
var first = cs.GetFirstLayer();