use GeometryAttributes object