Expanded polygon class, before implementation.