public RectifiedGrid unmarshalRectifiedGrid(RectifiedGridType src) { RectifiedGrid dest = new RectifiedGrid(); unmarshalGrid(src, dest); if (src.isSetOrigin()) dest.setOrigin(unmarshalPointProperty(src.getOrigin())); if (src.isSetOffsetVector()) { for (VectorType offsetVector : src.getOffsetVector()) dest.addOffsetVector(unmarshalVector(offsetVector)); } return dest; }