GeometryGym.Ifc.IfcCartesianPointList2D.IfcCartesianPointList2D C# (CSharp) Méthode

IfcCartesianPointList2D() public méthode

public IfcCartesianPointList2D ( DatabaseIfc db, IEnumerable coordList ) : System
db DatabaseIfc
coordList IEnumerable
Résultat System
        public IfcCartesianPointList2D(DatabaseIfc db, IEnumerable<Point2d> coordList)
            : base(db)
        {
            List<Tuple<double, double>> pts = new List<Tuple<double, double>>();
            foreach (Point2d t in coordList)
                pts.Add(new Tuple<double, double>(t.X, t.Y));
            mCoordList = pts.ToArray();
        }