#10195: avoid calculate the GeometryType in offsetline