Example #1
0
            /// <summary>
            /// Create a new nurb entity
            /// </summary>
            /// <param name="lType">Line type</param>
            public PicNurb AddNurb(PicGraphics.LT lType, short grp, short layer)
            {
                var nurb = PicNurb.CreateNewNurb(GetNewEntityId(), lType);

                nurb.LineType = lType;
                nurb.Group    = grp;
                nurb.Layer    = layer;
                AddEntity(nurb);
                return(nurb);
            }
Example #2
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);
     return nurb;
 }
Example #3
0
 public static PicNurb CreateNewNurb(uint id, PicGraphics.LT lType)
 {
     PicNurb nurb = new PicNurb(id, lType);
     return nurb;
 }
Example #4
0
        public override PicEntity Clone(IEntityContainer factory)
        {
            PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);

            return(nurb);
        }
Example #5
0
        public static PicNurb CreateNewNurb(uint id, PicGraphics.LT lType)
        {
            PicNurb nurb = new PicNurb(id, lType);

            return(nurb);
        }