Exemple #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);
            }
Exemple #2
0
 public override PicEntity Clone(IEntityContainer factory)
 {
     PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);
     return nurb;
 }
Exemple #3
0
 public static PicNurb CreateNewNurb(uint id, PicGraphics.LT lType)
 {
     PicNurb nurb = new PicNurb(id, lType);
     return nurb;
 }
Exemple #4
0
        public override PicEntity Clone(IEntityContainer factory)
        {
            PicNurb nurb = new PicNurb(factory.GetNewEntityId(), LineType);

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

            return(nurb);
        }