//-------------------------------------------------------------------------------------------------- public void Set(Pnt2d p, Pln plane) { Pnt pnt = new Pnt(); ElSLib.D0(p.X, p.Y, plane, ref pnt); Set(pnt); }
//-------------------------------------------------------------------------------------------------- public void Set(Pnt2d p1, Pnt2d p2, Pln plane) { Pnt pnt1 = new Pnt(); Pnt pnt2 = new Pnt(); ElSLib.D0(p1.X, p1.Y, plane, ref pnt1); ElSLib.D0(p2.X, p2.Y, plane, ref pnt2); Set(pnt1, pnt2); }
//-------------------------------------------------------------------------------------------------- public void Set(Pnt2d p1, Pnt2d p2, Pln plane) { if (p1.IsEqual(p2, Double.Epsilon)) { return; } Pnt pnt1 = new Pnt(); Pnt pnt2 = new Pnt(); ElSLib.D0(p1.X, p1.Y, plane, ref pnt1); ElSLib.D0(p2.X, p2.Y, plane, ref pnt2); Set(pnt1, pnt2); }