Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the Topology class with specific geometry locator.
        /// </summary>
        /// <param name="geometryLocator">The IGeometryLocator object to use.</param>
        public Topology(IGeometryLocator geometryLocator)
        {
            if (geometryLocator == null) {
                throw new ArgumentNullException("geometryLocator", "GeometryLocator can't be null");
            }

            this.GeometryLocator = geometryLocator;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the Topology class with specific geometry locator.
        /// </summary>
        /// <param name="geometryLocator">The IGeometryLocator object to use.</param>
        public Topology(IGeometryLocator geometryLocator)
        {
            if (geometryLocator == null)
            {
                throw new ArgumentNullException("geometryLocator", "GeometryLocator can't be null");
            }

            this.GeometryLocator = geometryLocator;
        }