private void DrawFacet() { PreviewPathVisibility = false; _drawTheFirst = () => { Detail detail = new Parallelepiped(null, ParallelepipedWidth, CylinderHeigth, ParallelepipedLength, -75, 0); detail = new Cylinder(detail, CylinderRadius, CylinderHeigth, ApproksimationValue, -75, 0); var facetsList = detail.FacetCollection().ToList(); var resultDetail = DetailsCombine.DoubleDetailFacet(detail); facetsList.AddRange(resultDetail); _resultTransformationFacets = (IEnumerable <IFacet>)facetsList.DeepClone(); Transform(_resultTransformationFacets); }; _drawTheFirst(); }