예제 #1
0
        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);
        }
예제 #2
0
        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);
        }