Vector walls and towers of a medieval castle