internal void Transition(Axis axis, double value) { var newVertextes = new List <Point3D>(); foreach (var vertex in vertexes) { newVertextes.Add(Transformations.Transition(vertex, axis, value)); } vertexes = newVertextes; poly.Points = ShapesHelper.BuildPointCollection(newVertextes); }
internal void Scale(double scaleValue) { var newVertextes = new List <Point3D>(); foreach (var vertex in vertexes) { newVertextes.Add(Transformations.Scale(vertex, scaleValue)); } vertexes = newVertextes; poly.Points = ShapesHelper.BuildPointCollection(newVertextes); }