Exemplo n.º 1
0
        public IEnumerable <AttributeShape> ImportAttributeLineStrings(IEnumerable <ISOLineString> isoLineStrings)
        {
            List <AttributeShape> attributeLinestrings = new List <AttributeShape>();

            foreach (ISOLineString isoLineString in isoLineStrings)
            {
                AttributeShape lineString = ImportAttributeLineString(isoLineString);
                if (lineString != null)
                {
                    attributeLinestrings.Add(lineString);
                }
            }
            return(attributeLinestrings);
        }
Exemplo n.º 2
0
        public IEnumerable <AttributeShape> ImportAttributePolygons(IEnumerable <ISOPolygon> isoPolygons)
        {
            List <AttributeShape> attributePolygons = new List <AttributeShape>();

            foreach (ISOPolygon isoPolygon in isoPolygons)
            {
                AttributeShape attributePolygon = ImportAttributePolygon(isoPolygon);
                if (attributePolygon != null)
                {
                    attributePolygons.Add(attributePolygon);
                }
            }
            return(attributePolygons);
        }
Exemplo n.º 3
0
        public IEnumerable <AttributeShape> ImportAttributePoints(IEnumerable <ISOPoint> isoPoints)
        {
            List <AttributeShape> attributePoints = new List <AttributeShape>();

            foreach (ISOPoint isoPoint in isoPoints)
            {
                AttributeShape attributePoint = ImportAttributePoint(isoPoint);
                if (attributePoint != null)
                {
                    attributePoints.Add(attributePoint);
                }
            }
            return(attributePoints);
        }