CGGeometry work