getChainSegment

Get the chain segment for this shape. Only valid if type is ChainSegment.