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