Esempio n. 1
0
        /// <summary>
        /// Method read Shape record from file by given record number.
        /// </summary>
        /// <param name="recNum">Record number.</param>
        /// <returns>Shape.</returns>
        public Shape ReadRecord(int recNum)
        {
            Esri.ShapefileReader.Shape shape = _file.ReadRecord(recNum);

            Shape newShape = new Shape(shape);

            return(newShape);
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor with parameters.
 /// </summary>
 /// <param name="shape">Shape.</param>
 internal Shape(Esri.ShapefileReader.Shape shape)
 {
     _shape = shape;
 }
Esempio n. 3
0
 /// <summary>
 /// Constructor with parameters.
 /// </summary>
 /// <param name="shape">Shape.</param>
 internal Shape(Esri.ShapefileReader.Shape shape)
 {
     _shape = shape;
 }