示例#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);
            }
        }