private void LoadShouldPadInfo() { ShouldPadInfoManager shouldPadImfoManager = new ShouldPadInfoManager(); ClothClampManager clothClampManager = new ClothClampManager(); Point[] shapePoints = shouldPadImfoManager.GetShouldPadPoints(); shouldPadShapeInfo = new ShouldPadShapeInfo(shapePoints, clothClampManager.LoadClothClamps()); }
public void SetShouldPadShapeInfo(ShouldPadShapeInfo shouldPadShapeInfo, bool savePoints) { this.shouldPadShapeInfo = shouldPadShapeInfo; if (savePoints) { ShouldPadInfoManager shouldPadInfoManager = new ShouldPadInfoManager(); shouldPadInfoManager.SetShouldPadPoints(shouldPadShapeInfo.ShapePoints); } }