Пример #1
0
        public void GenerateSplineMeshAtSegment(int index)
        {
            meshVersion = PVersionInfo.Number;
            PSplineMeshCreator creator = new PSplineMeshCreator();

            creator.Create(this, index);
        }
Пример #2
0
        public void GenerateSplineMesh()
        {
            meshVersion = PVersionInfo.Number;
            PSplineMeshCreator creator = new PSplineMeshCreator();

            creator.Create(this);
        }
Пример #3
0
        public void GenerateSplineMeshAtSegments(IEnumerable <int> indices)
        {
            meshVersion = PVersionInfo.Number;
            PSplineMeshCreator creator = new PSplineMeshCreator();
            IEnumerator <int>  i       = indices.GetEnumerator();

            while (i.MoveNext())
            {
                int index = i.Current;
                creator.Create(this, index);
            }
        }