示例#1
0
 /// <summary>
 /// Computes a copy of each input <c>Geometry</c>s with the calculated common bits
 /// removed from each coordinate.
 /// </summary>
 /// <param name="geom0">A Geometry to remove common bits from.</param>
 /// <param name="geom1">A Geometry to remove common bits from.</param>
 /// <returns>
 /// An array containing copies
 /// of the input Geometry's with common bits removed.
 /// </returns>
 private IGeometry[] RemoveCommonBits(IGeometry geom0, IGeometry geom1)
 {
     cbr = new CommonBitsRemover();
     cbr.Add(geom0);
     cbr.Add(geom1);
     IGeometry[] geom = new IGeometry[2];
     geom[0] = cbr.RemoveCommonBits((IGeometry)geom0.Clone());
     geom[1] = cbr.RemoveCommonBits((IGeometry)geom1.Clone());
     return(geom);
 }
示例#2
0
        /// <summary>
        /// Computes a copy of the input <c>Geometry</c> with the calculated common bits
        /// removed from each coordinate.
        /// </summary>
        /// <param name="geom0">The Geometry to remove common bits from.</param>
        /// <returns>A copy of the input Geometry with common bits removed.</returns>
        private IGeometry RemoveCommonBits(IGeometry geom0)
        {
            cbr = new CommonBitsRemover();
            cbr.Add(geom0);
            IGeometry geom = cbr.RemoveCommonBits((IGeometry)geom0.Clone());

            return(geom);
        }
示例#3
0
 /// <summary>
 /// Computes a copy of each input <c>Geometry</c>s with the calculated common bits
 /// removed from each coordinate.
 /// </summary>
 /// <param name="geom0">A Geometry to remove common bits from.</param>
 /// <param name="geom1">A Geometry to remove common bits from.</param>
 /// <returns>
 /// An array containing copies
 /// of the input Geometry's with common bits removed.
 /// </returns>
 private IGeometry[] RemoveCommonBits(IGeometry geom0, IGeometry geom1)
 {
     cbr = new CommonBitsRemover();
     cbr.Add(geom0);
     cbr.Add(geom1);
     IGeometry[] geom = new IGeometry[2];
     geom[0] = cbr.RemoveCommonBits((IGeometry) geom0.Clone());
     geom[1] = cbr.RemoveCommonBits((IGeometry) geom1.Clone());
     return geom;
 }
示例#4
0
 /// <summary>
 /// Computes a copy of the input <c>Geometry</c> with the calculated common bits
 /// removed from each coordinate.
 /// </summary>
 /// <param name="geom0">The Geometry to remove common bits from.</param>
 /// <returns>A copy of the input Geometry with common bits removed.</returns>
 private IGeometry RemoveCommonBits(IGeometry geom0)
 {
     cbr = new CommonBitsRemover();
     cbr.Add(geom0);
     IGeometry geom = cbr.RemoveCommonBits((IGeometry) geom0.Clone());
     return geom;
 }