예제 #1
0
        public int AddSpline(List <int> pointTags, int tag = -1)
        {
            var api = GMshNativeMethods.gmshModelOccAddSpline(pointTags.ToArray(), pointTags.Count.ToUint(), tag, ref ierr);

            if (ierr != 0)
            {
                throw new GMshException(ierr);
            }
            return(api);
        }